]> git.mxchange.org Git - friendica.git/commitdiff
switched intend
authornupplaPhil <admin+github@philipp.info>
Sun, 2 Feb 2020 08:15:05 +0000 (09:15 +0100)
committernupplaPhil <admin+github@philipp.info>
Sun, 2 Feb 2020 21:43:43 +0000 (22:43 +0100)
mod/lostpass.php

index e412c495865dcb7f101025bd37437f22a6508dd6..5856148d7d8427b1de5ca55b407a4d3f84a56684 100644 (file)
@@ -157,11 +157,11 @@ function lostpass_generate_password($user)
                ', DI::baseUrl(), $user['nickname'], $new_password));
 
                $email = DI::emailer()
-                          ->newSystemMail((!empty($user['language'])) ? DI::l10n()->withLang($user['language']) : DI::l10n())
-                          ->withMessage(DI::l10n()->t('Your password has been changed at %s', $sitename), $preamble, $body)
-                          ->forUser($user['uid'] ?? 0)
-                          ->withRecipient($user['email'])
-                          ->build();
+                       ->newSystemMail((!empty($user['language'])) ? DI::l10n()->withLang($user['language']) : DI::l10n())
+                       ->withMessage(DI::l10n()->t('Your password has been changed at %s', $sitename), $preamble, $body)
+                       ->forUser($user['uid'] ?? 0)
+                       ->withRecipient($user['email'])
+                       ->build();
                DI::emailer()->send($email);
        }