Add a todo

This commit is contained in:
PCoder 2020-12-23 09:10:03 +05:30
parent 2a84d20f35
commit 20c6703236

View file

@ -1050,6 +1050,7 @@ def do_create_vm(request, user, stripe_api_cus_id, card_details_response,
stripe_customer_id = stripe_customer.id stripe_customer_id = stripe_customer.id
new_user = authenticate(username=custom_user.email, new_user = authenticate(username=custom_user.email,
password=password) password=password)
# TODO do we need login here ?
login(request, new_user) login(request, new_user)
if 'new_user_hosting_key_id' in request: if 'new_user_hosting_key_id' in request:
user_hosting_key = UserHostingKey.objects.get( user_hosting_key = UserHostingKey.objects.get(