forked from lix-project/hydra
fix; resetting password used to send email to logged in user (typically admin), now to the user whose password is resetted
This commit is contained in:
parent
1840a842d3
commit
01f07be8f2
|
@ -154,7 +154,7 @@ sub reset_password : Chained('user') PathPart('reset-password') Args(0) {
|
||||||
# send email
|
# send email
|
||||||
|
|
||||||
sendemail(
|
sendemail(
|
||||||
$c->user->emailaddress,
|
$c->stash->{user}->emailaddress,
|
||||||
"New password for Hydra",
|
"New password for Hydra",
|
||||||
"Hi,\n\n".
|
"Hi,\n\n".
|
||||||
"Your password has been reset. Your new password is '$password'.\n".
|
"Your password has been reset. Your new password is '$password'.\n".
|
||||||
|
|
Loading…
Reference in a new issue