added link to delete the account to the registration mail text

This commit is contained in:
Tobias Diekershoff 2018-04-02 18:40:52 +02:00
parent 6c20b4507d
commit 6cef0fbaeb
1 changed files with 8 additions and 6 deletions

View File

@ -614,11 +614,12 @@ class User
')); '));
$body = deindent(L10n::t(' $body = deindent(L10n::t('
The login details are as follows: The login details are as follows:
Site Location: %3$s
Login Name: %1$s
Password: %5$s
You may change your password from your account Settings page after logging Site Location: %1$s
Login Name: %2$s
Password: %3$s
You may change your password from your account "Settings" page after logging
in. in.
Please take a few moments to review the other account settings on that page. Please take a few moments to review the other account settings on that page.
@ -627,7 +628,7 @@ class User
' . "\x28" . 'on the "Profiles" page' . "\x29" . ' so that other people can easily find you. ' . "\x28" . 'on the "Profiles" page' . "\x29" . ' so that other people can easily find you.
We recommend setting your full name, adding a profile photo, We recommend setting your full name, adding a profile photo,
adding some profile keywords ' . "\x28" . 'very useful in making new friends' . "\x29" . ' - and adding some profile "keywords" ' . "\x28" . 'very useful in making new friends' . "\x29" . ' - and
perhaps what country you live in; if you do not wish to be more specific perhaps what country you live in; if you do not wish to be more specific
than that. than that.
@ -635,8 +636,9 @@ class User
If you are new and do not know anybody here, they may help If you are new and do not know anybody here, they may help
you to make some new and interesting friends. you to make some new and interesting friends.
If you ever want to delete your account, you can do so at %1$s/removeme
Thank you and welcome to %2$s.')); Thank you and welcome to %4$s.'));
$preamble = sprintf($preamble, $username, $sitename); $preamble = sprintf($preamble, $username, $sitename);
$body = sprintf($body, $email, $sitename, $siteurl, $username, $password); $body = sprintf($body, $email, $sitename, $siteurl, $username, $password);