summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2005-10-26 22:30:57 +0000
committerthomascube <thomas@roundcube.net>2005-10-26 22:30:57 +0000
commit01bb03134b5fd3797cbcf992104a3b6179b7f152 (patch)
treedf1f7e4b53411ddda4fcb092f87a19cd41ce23cc /index.php
parentb076a460e5418ae8f0db0b4b392d91853fd2a21b (diff)
Finished message sorting and fixed some skin issues
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index f10886f36..fe930feb3 100644
--- a/index.php
+++ b/index.php
@@ -141,7 +141,7 @@ else if ($_action=='logout' && isset($_SESSION['user_id']))
}
// check session cookie and auth string
-else if ($_action!='login' && $sess_auth)
+else if ($_action!='login' && $sess_auth && $_SESSION['user_id'])
{
if ($_auth !== $sess_auth || $_auth != rcmail_auth_hash($_SESSION['client_id'], $_SESSION['auth_time']) ||
($CONFIG['session_lifetime'] && $SESS_CHANGED + $CONFIG['session_lifetime']*60 < mktime()))