From c3be8ed64c601e0b15645664d58cec7ace17b5cb Mon Sep 17 00:00:00 2001
From: thomascube <thomas@roundcube.net>
Date: Thu, 06 Jan 2011 07:41:16 -0500
Subject: [PATCH] Make sure an existing session is killed/replaced when submitting login form

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

diff --git a/index.php b/index.php
index 47b08ef..8c9370e 100644
--- a/index.php
+++ b/index.php
@@ -104,7 +104,7 @@
     rcmail_log_login();
 
     // restore original request parameters
-    $query = array();
+    $query = array('_task' => 'mail');
     if ($url = get_input_value('_url', RCUBE_INPUT_POST))
       parse_str($url, $query);
 

--
Gitblit v1.9.1