#165604 by mvc. Redirect to home page after user registration requiring admin approval.
parent
47bc80c02f
commit
9c072acb6f
|
@ -1290,7 +1290,7 @@ function user_register_submit($form_id, $form_values) {
|
|||
drupal_mail('user-register-approval-user', $mail, $subject, $body, $from);
|
||||
drupal_mail('user-register-approval-admin', $from, $subject, t("!username has applied for an account.\n\n!edit_uri", $variables), $from);
|
||||
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.'));
|
||||
|
||||
return '';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue