summaryrefslogtreecommitdiff
path: root/modules/user.module
diff options
context:
space:
mode:
authorGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-04-26 15:07:12 +0000
committerGerhard Killesreiter <killes_www_drop_org@227.no-reply.drupal.org>2006-04-26 15:07:12 +0000
commit7af9e6cfdd9e3307af20377aade1c7505524922f (patch)
tree2e686a2e96122b6d3d89933486094096752f74bd /modules/user.module
parentdc4acbcb93188ea49e277c4b46aac64613b268b0 (diff)
downloadbrdo-7af9e6cfdd9e3307af20377aade1c7505524922f.tar.gz
brdo-7af9e6cfdd9e3307af20377aade1c7505524922f.tar.bz2
#60476, simplify frontpage related code, leftovers from #59222, patch by Zen
Diffstat (limited to 'modules/user.module')
-rw-r--r--modules/user.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user.module b/modules/user.module
index f87be38aa..a997a5807 100644
--- a/modules/user.module
+++ b/modules/user.module
@@ -1077,7 +1077,7 @@ function user_pass_reset($uid, $timestamp, $hashed_pass, $action = NULL) {
// Check if the user is already logged in. The back button is often the culprit here.
if ($user->uid) {
drupal_set_message(t('You have already used this one-time login link. It is not necessary to use this link to login anymore. You are already logged in.'));
- drupal_goto(variable_get('site_frontpage', 'node'));
+ drupal_goto();
}
else {
// Time out, in seconds, until login URL expires. 24 hours = 86400 seconds.