Skip to content

Commit b68f115

Browse files
author
Guillim
committed
we fix some coding style issues following the PR
1 parent 3038639 commit b68f115

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/authentification/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ def activate(request, uidb64, token):
1515
if user is not None and account_activation_token.check_token(user, token):
1616
user.is_active = True
1717
user.save()
18-
login(request, user, backend='django.contrib.auth.backends.ModelBackend')
18+
login(request=request, user=user, backend='django.contrib.auth.backends.ModelBackend')
1919
return redirect('projects')
2020
else:
2121
return render(request, 'validate_mail_address_invalid.html')

0 commit comments

Comments
 (0)