mirror of
https://github.com/friendica/friendica
synced 2024-12-22 17:20:16 +00:00
switched intend
This commit is contained in:
parent
ed9756225d
commit
6700467ed4
1 changed files with 5 additions and 5 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue