summaryrefslogtreecommitdiff
path: root/roundcubemail/program/include/rcmail.php
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-01-06 12:41:16 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-01-06 12:41:16 +0000
commit79fac2592cc53fb3f3d876f1cbcd5429816efb26 (patch)
tree8d8a9c25b088dc0e61c900741526f8e218fc2325 /roundcubemail/program/include/rcmail.php
parent1d4d6570fc6bda1d71f4f3c1bc585c5fa58defe7 (diff)
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
Diffstat (limited to 'roundcubemail/program/include/rcmail.php')
-rw-r--r--roundcubemail/program/include/rcmail.php2
1 files changed, 1 insertions, 1 deletions
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';