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
|
||||
|
||||
sendemail(
|
||||
$c->user->emailaddress,
|
||||
$c->stash->{user}->emailaddress,
|
||||
"New password for Hydra",
|
||||
"Hi,\n\n".
|
||||
"Your password has been reset. Your new password is '$password'.\n".
|
||||
|
|
Loading…
Reference in a new issue