Commit e3ac52a6 by Kálmán Viktor

dashboard: add success message after pw change

closes #453
parent b02d4a32
...@@ -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