From d10cdfe9423266b5f88bb082cb0f75f0b96f1151 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Tue, 3 Apr 2018 12:45:27 +0200 Subject: [PATCH 1/2] pass uid to notofication system so securemail addon can pick it up --- mod/lostpass.php | 1 + 1 file changed, 1 insertion(+) diff --git a/mod/lostpass.php b/mod/lostpass.php index 56ad7e30ef..e44c0938e4 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 From 03ed5e5649e0a84767ce22e064df5da7d78724a6 Mon Sep 17 00:00:00 2001 From: Tobias Diekershoff Date: Tue, 3 Apr 2018 12:47:38 +0200 Subject: [PATCH 2/2] forgot the 2nd mail --- mod/lostpass.php | 1 + 1 file changed, 1 insertion(+) diff --git a/mod/lostpass.php b/mod/lostpass.php index e44c0938e4..af4518ca16 100644 --- a/mod/lostpass.php +++ b/mod/lostpass.php @@ -165,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