Add missing space. Because.
This commit is contained in:
parent
85fe13edcf
commit
6a1b3843df
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue