diff --git a/smash/web/views/password.py b/smash/web/views/password.py index 51550730a69b1cc7d72c0fefa162ac62d9237eb8..8d0ae2705d3692106efeff59a90e2082be999e04 100644 --- a/smash/web/views/password.py +++ b/smash/web/views/password.py @@ -10,7 +10,7 @@ def change_password(request): form = PasswordChangeForm(request.user, request.POST) if form.is_valid(): user = form.save() - update_session_auth_hash(request, user) # Important! + update_session_auth_hash(request, user) messages.success(request, 'The password for {} was successfully updated!'.format(request.user)) return redirect('web.views.workers') else: