summaryrefslogtreecommitdiff
path: root/roundcubemail/index.php
diff options
context:
space:
mode:
authorthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-01-14 17:03:33 +0000
committerthomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c>2011-01-14 17:03:33 +0000
commitbd5cbab59f2e24da61d2894a4a990c4b17a92605 (patch)
treef503b2298b4c84eba8570f63b707060f4d4ea4fc /roundcubemail/index.php
parent25c9e812395bc3b3c2b56d0a278f9db01b0dbf7b (diff)
Fix login redirect issues (#1487686)
git-svn-id: https://svn.roundcube.net/trunk@4418 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/index.php')
-rw-r--r--roundcubemail/index.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/roundcubemail/index.php b/roundcubemail/index.php
index 5ee2ef777..e142505d1 100644
--- a/roundcubemail/index.php
+++ b/roundcubemail/index.php
@@ -104,12 +104,12 @@ if ($RCMAIL->task == 'login' && $RCMAIL->action == 'login') {
rcmail_log_login();
// restore original request parameters
- $query = array('_task' => 'mail');
+ $query = array();
if ($url = get_input_value('_url', RCUBE_INPUT_POST))
parse_str($url, $query);
// allow plugins to control the redirect url after login success
- $redir = $RCMAIL->plugins->exec_hook('login_after', $query);
+ $redir = $RCMAIL->plugins->exec_hook('login_after', array('_task' => 'mail') + $query);
unset($redir['abort']);
// send redirect