summaryrefslogtreecommitdiff
path: root/modules/user/user.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2007-04-09 13:45:30 +0000
committerDries Buytaert <dries@buytaert.net>2007-04-09 13:45:30 +0000
commit15d739a5049091821c81006ad8080f0556053e16 (patch)
tree6b230fdb4e024b1a98fd9055595349a6f5ab6810 /modules/user/user.module
parent96c3009178e3512ca30d0f36f81e22953afb9f88 (diff)
downloadbrdo-15d739a5049091821c81006ad8080f0556053e16.tar.gz
brdo-15d739a5049091821c81006ad8080f0556053e16.tar.bz2
- Patch #133431 by alexis: #redirect won't work with user registration.
Diffstat (limited to 'modules/user/user.module')
-rw-r--r--modules/user/user.module2
1 files changed, 1 insertions, 1 deletions
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.