From 7bcd7429dfc34023f62d6d10057d8755226ed1ab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Fri, 14 Dec 2007 18:29:59 +0000 Subject: #110474 by dww and keith.smith: passwords are not sent in welcome mails, so do not mislead our users --- modules/user/user.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules') diff --git a/modules/user/user.module b/modules/user/user.module index fe1e0b62e..98048f3d1 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -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.
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.
In the meantime, a welcome message with further instructions has been sent to your e-mail address.')); $form_state['redirect'] = ''; return; -- cgit v1.2.3