From d0fd4b42ee83cc3604b86dbd2585b4d66155eeb3 Mon Sep 17 00:00:00 2001 From: Carlos Vega <carlos.vega@uni.lu> Date: Thu, 22 Nov 2018 11:11:28 +0100 Subject: [PATCH] removed comment --- smash/web/views/password.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smash/web/views/password.py b/smash/web/views/password.py index 51550730..8d0ae270 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: -- GitLab