]> git.mxchange.org Git - friendica.git/blobdiff - mod/lostpass.php
Docs: add a note on adding `use` on theme.php
[friendica.git] / mod / lostpass.php
index 56ad7e30ef0e71225e73d6423a569d1b30568059..af4518ca16246292a9b8a18f8461797d9e9646e1 100644 (file)
@@ -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