Skip to content
This repository has been archived by the owner on May 29, 2024. It is now read-only.

Commit

Permalink
Changed error message if PW reset mail can not be sent.
Browse files Browse the repository at this point in the history
  • Loading branch information
toirl committed Mar 24, 2017
1 parent ccbc713 commit 283c07c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ringo/views/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,9 @@ def forgot_password(request):
request.session.flash(msg, 'success')
complete = True
else:
msg = _("Login doesn't exist or written wrong")
msg = _("Passwort reset token can not be sent to the "
"user. Maybe the user does not exist or has no "
"configured email.")
request.session.flash(msg, "error")
form = Form(form_config,
csrf_token=request.session.get_csrf_token(),
Expand Down

0 comments on commit 283c07c

Please sign in to comment.