From 79fac2592cc53fb3f3d876f1cbcd5429816efb26 Mon Sep 17 00:00:00 2001 From: thomasb Date: Thu, 6 Jan 2011 12:41:16 +0000 Subject: Make sure an existing session is killed/replaced when submitting login form git-svn-id: https://svn.roundcube.net/trunk@4396 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/program/include/rcmail.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roundcubemail/program/include/rcmail.php') diff --git a/roundcubemail/program/include/rcmail.php b/roundcubemail/program/include/rcmail.php index afdb77cd1..e4078a72f 100644 --- a/roundcubemail/program/include/rcmail.php +++ b/roundcubemail/program/include/rcmail.php @@ -208,7 +208,7 @@ class rcmail $task = asciiwords($task); if ($this->user && $this->user->ID) - $task = !$task || $task == 'login' ? 'mail' : $task; + $task = !$task ? 'mail' : $task; else $task = 'login'; -- cgit v1.2.3