X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fregister.php;h=b851faf2d6225f471e5cec43e93270b4beab3978;hb=61693419e8cf571a2ad26690423d356023badc2e;hp=220d82d07e5f9fefe910672476fa88324d1f9d1e;hpb=30fff2077c9d4f6ebe5581cc570a22bd421b2205;p=friendica.git diff --git a/mod/register.php b/mod/register.php index 220d82d07e..b851faf2d6 100644 --- a/mod/register.php +++ b/mod/register.php @@ -93,7 +93,7 @@ function register_post(App $a) // Only send a password mail when the password wasn't manually provided if (!x($_POST, 'password1') || !x($_POST, 'confirm')) { $res = User::sendRegisterOpenEmail( - $user['email'], Config::get('config', 'sitename'), System::baseUrl(), $user['username'], $result['password']); + $user['email'], Config::get('config', 'sitename'), System::baseUrl(), $user['username'], $result['password'], $user); if ($res) { info(L10n::t('Registration successful. Please check your email for further instructions.') . EOL);