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

Commit 283c07c

Browse files
committed
Changed error message if PW reset mail can not be sent.
1 parent ccbc713 commit 283c07c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

ringo/views/auth.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,9 @@ def forgot_password(request):
289289
request.session.flash(msg, 'success')
290290
complete = True
291291
else:
292-
msg = _("Login doesn't exist or written wrong")
292+
msg = _("Passwort reset token can not be sent to the "
293+
"user. Maybe the user does not exist or has no "
294+
"configured email.")
293295
request.session.flash(msg, "error")
294296
form = Form(form_config,
295297
csrf_token=request.session.get_csrf_token(),

0 commit comments

Comments
 (0)