From 01bb03134b5fd3797cbcf992104a3b6179b7f152 Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Wed, 26 Oct 2005 18:30:57 -0400
Subject: [PATCH] Finished message sorting and fixed some skin issues

---
 index.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/index.php b/index.php
index f10886f..fe930fe 100644
--- a/index.php
+++ b/index.php
@@ -141,7 +141,7 @@
   }
 
 // 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()))

--
Gitblit v1.9.1