#110474 by dww and keith.smith: passwords are not sent in welcome mails, so do not mislead our users
parent
24c66b82fc
commit
7bcd7429df
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue