- Patch #133431 by alexis: #redirect won't work with user registration.
parent
96c3009178
commit
15d739a504
|
@ -1388,7 +1388,7 @@ function user_register_submit($form_id, $form_values) {
|
|||
$body = _user_mail_text('welcome_body', $variables);
|
||||
drupal_mail('user-register-welcome', $mail, $subject, $body, $from);
|
||||
user_authenticate($account->name, trim($pass));
|
||||
drupal_goto();
|
||||
return '';
|
||||
}
|
||||
else if ($account->status || $notify) {
|
||||
// Create new user account, no administrator approval required.
|
||||
|
|
Loading…
Reference in New Issue