Don't display a second success message on password reset

This commit is contained in:
Baptiste Jonglez 2020-05-18 12:40:32 +02:00 committed by zorun
parent 5d56ce0ddc
commit 8edbd42011

View file

@ -281,7 +281,7 @@ def remind_password():
) )
success = send_email( success = send_email(
remind_message, remind_message,
_("A password reminder email has just been sent to you"), "",
_( _(
"Sorry, there was an error while sending you an email with password reset instructions. " "Sorry, there was an error while sending you an email with password reset instructions. "
"Please check the email configuration of the server or contact the administrator." "Please check the email configuration of the server or contact the administrator."