diff options
author | thomascube <thomas@roundcube.net> | 2011-01-06 12:41:16 +0000 |
---|---|---|
committer | thomascube <thomas@roundcube.net> | 2011-01-06 12:41:16 +0000 |
commit | c3be8ed64c601e0b15645664d58cec7ace17b5cb (patch) | |
tree | 81c9f63dfc12c4a0a1f0988735343cc14918d193 /program/include/rcmail.php | |
parent | 56849c658b023ba8143c60435ddec2ee225fc11d (diff) |
Make sure an existing session is killed/replaced when submitting login form
Diffstat (limited to 'program/include/rcmail.php')
-rw-r--r-- | program/include/rcmail.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/rcmail.php b/program/include/rcmail.php index afdb77cd1..e4078a72f 100644 --- a/program/include/rcmail.php +++ b/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'; |