Commit 7bcd7429 authored by Gábor Hojtsy's avatar Gábor Hojtsy
Browse files

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

#110474 by dww and keith.smith: passwords are not sent in welcome mails, so do not mislead our users
parent 24c66b82
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment