Add missing space. Because.

This commit is contained in:
Kumi 2020-05-22 19:10:36 +02:00
parent 85fe13edcf
commit 6a1b3843df

View file

@ -29,7 +29,7 @@ class LoginView(FormView):
return context
def form_valid(self, form):
user = authenticate(username=form.cleaned_data['email'],password=form.cleaned_data['password'])
user = authenticate(username=form.cleaned_data['email'], password=form.cleaned_data['password'])
if user:
if not get_user_otps(user):
login(self.request, user)