emile 1 year ago
parent 19290ed9a2
commit 534bf3ab14

@ -37,7 +37,7 @@ def authenticate_customer(request):
except User.DoesNotExist:
return JsonResponse({'success': False, 'error': 'User with this email does not exist'})
user = authenticate(request, email=email)
user = authenticate(request, email=email, password='ibiye4700')
if user is not None:
login(request, user)

Loading…
Cancel
Save