summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/user.module1
-rw-r--r--modules/user/user.module1
2 files changed, 2 insertions, 0 deletions
diff --git a/modules/user.module b/modules/user.module
index d812354d2..35c5776be 100644
--- a/modules/user.module
+++ b/modules/user.module
@@ -500,6 +500,7 @@ function user_login($edit = array()) {
$url = $HTTP_REFERER ? $HTTP_REFERER : "module.php?mod=user&op=view";
drupal_goto($url);
+ return;
}
else {
diff --git a/modules/user/user.module b/modules/user/user.module
index d812354d2..35c5776be 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -500,6 +500,7 @@ function user_login($edit = array()) {
$url = $HTTP_REFERER ? $HTTP_REFERER : "module.php?mod=user&op=view";
drupal_goto($url);
+ return;
}
else {