Cleanup new_user_hosting_key_id session variable also

This commit is contained in:
PCoder 2019-07-01 23:08:35 +05:30
parent 8efe978b23
commit a20dbc1f96

View file

@ -101,7 +101,7 @@ def clear_all_session_vars(request):
'billing_address_data', 'card_id',
'token', 'customer', 'generic_payment_type',
'generic_payment_details', 'product_id',
'order_confirm_url']:
'order_confirm_url', 'new_user_hosting_key_id']:
if session_var in request.session:
del request.session[session_var]