forked from Github-Mirrors/canaille
Initialization mail bugfix. #51
This commit is contained in:
parent
bf989f128c
commit
a3411cb61a
1 changed files with 1 additions and 0 deletions
|
@ -218,6 +218,7 @@ def profile_edition(user, username):
|
||||||
return profile_delete(user, username)
|
return profile_delete(user, username)
|
||||||
|
|
||||||
if request.form.get("action") == "password-initialization-mail":
|
if request.form.get("action") == "password-initialization-mail":
|
||||||
|
user = User.get(username) or abort(404)
|
||||||
if send_password_initialization_mail(user):
|
if send_password_initialization_mail(user):
|
||||||
flash(
|
flash(
|
||||||
_(
|
_(
|
||||||
|
|
Loading…
Reference in a new issue