summaryrefslogtreecommitdiff
path: root/roundcubemail/index.php
diff options
context:
space:
mode:
authorroundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c>2005-10-26 22:30:57 +0000
committerroundcube <roundcube@208e9e7b-5314-0410-a742-e7e81cd9613c>2005-10-26 22:30:57 +0000
commitad32715fe346b4baf680238fd723cce6dad47b88 (patch)
tree688d2101207520d1c8e18497c7d88307f069f8cb /roundcubemail/index.php
parent725d43add7753f470867991a47c1abb6f9c332e5 (diff)
Finished message sorting and fixed some skin issues
git-svn-id: https://svn.roundcube.net/trunk@63 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/index.php')
-rw-r--r--roundcubemail/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/index.php b/roundcubemail/index.php
index f10886f36..fe930feb3 100644
--- a/roundcubemail/index.php
+++ b/roundcubemail/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()))