Browse Source

we fix some coding style issues following the PR

pull/250/head
Guillim 5 years ago
parent
commit
b68f11525f
1 changed files with 1 additions and 1 deletions
  1. 2
      app/authentification/utils.py

2
app/authentification/utils.py

@ -15,7 +15,7 @@ def activate(request, uidb64, token):
if user is not None and account_activation_token.check_token(user, token):
user.is_active = True
user.save()
login(request, user, backend='django.contrib.auth.backends.ModelBackend')
login(request=request, user=user, backend='django.contrib.auth.backends.ModelBackend')
return redirect('projects')
else:
return render(request, 'validate_mail_address_invalid.html')
Loading…
Cancel
Save