summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2001-10-18 11:12:00 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2001-10-18 11:12:00 +0000
commit1539d4f428adbf68a69f2c33103c0e4a80982d97 (patch)
tree3279ad283c4259435d0b00fde21c5cc53433a5e5
parentf295648cb12b574c03862e0a6fb11ed7218657b0 (diff)
downloadbrdo-1539d4f428adbf68a69f2c33103c0e4a80982d97.tar.gz
brdo-1539d4f428adbf68a69f2c33103c0e4a80982d97.tar.bz2
- user.module should now return your user settings when you log in and not
just another log in box.
-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 {