#110474 by dww and keith.smith: passwords are not sent in welcome mails, so do not mislead our users

6.x
Gábor Hojtsy 2007-12-14 18:29:59 +00:00
parent 24c66b82fc
commit 7bcd7429df
1 changed files with 1 additions and 1 deletions

View File

@ -2231,7 +2231,7 @@ function user_register_submit($form, &$form_state) {
else {
// Create new user account, administrator approval required.
_user_mail_notify('register_pending_approval', $account);
drupal_set_message(t('Thank you for applying for an account. Your account is currently pending approval by the site administrator.<br />In the meantime, your password and further instructions have been sent to your e-mail address.'));
drupal_set_message(t('Thank you for applying for an account. Your account is currently pending approval by the site administrator.<br />In the meantime, a welcome message with further instructions has been sent to your e-mail address.'));
$form_state['redirect'] = '';
return;