Commit 3cff165b by Dudás Ádám

Merge branch '453' into 'master'

Add success message after pw change

closes #453

See merge request !378
parents b02d4a32 e3ac52a6
...@@ -200,6 +200,8 @@ class MyPreferencesView(UpdateView): ...@@ -200,6 +200,8 @@ class MyPreferencesView(UpdateView):
data=request.POST) data=request.POST)
if form.is_valid(): if form.is_valid():
form.save() form.save()
messages.success(self.request,
_("Password successfully changed."))
if form.is_valid(): if form.is_valid():
return redirect_response return redirect_response
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment