From 15d739a5049091821c81006ad8080f0556053e16 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 9 Apr 2007 13:45:30 +0000 Subject: - Patch #133431 by alexis: #redirect won't work with user registration. --- modules/user/user.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/user/user.module') diff --git a/modules/user/user.module b/modules/user/user.module index 4ddedd140..a47a7b8b7 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -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. -- cgit v1.2.3