diff --git a/mod/lostpass.php b/mod/lostpass.php index 56ad7e30ef..af4518ca16 100644 --- a/mod/lostpass.php +++ b/mod/lostpass.php @@ -69,6 +69,7 @@ function lostpass_post(App $a) notification([ 'type' => SYSTEM_EMAIL, 'to_email' => $user['email'], + 'uid' => $user['uid'], 'subject' => L10n::t('Password reset requested at %s', $sitename), 'preamble' => $preamble, 'body' => $body @@ -164,6 +165,7 @@ function lostpass_generate_password($user) notification([ 'type' => SYSTEM_EMAIL, 'to_email' => $user['email'], + 'uid' => $user['uid'], 'subject' => L10n::t('Your password has been changed at %s', $sitename), 'preamble' => $preamble, 'body' => $body