diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-02-24 12:37:33 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-02-24 12:37:33 +0000 |
| commit | 7b3047f8d026759ecad2b7e95c84888dfd3aea3f (patch) | |
| tree | 0362755bea8eeba6baf00b61ae18a7ce5fd6c224 | |
| parent | 3d5652cb40fee591ca18e617a1570fdb438c4de7 (diff) | |
- don't set task for login_after hook
git-svn-id: https://svn.roundcube.net/trunk@3287 208e9e7b-5314-0410-a742-e7e81cd9613c
| -rw-r--r-- | roundcubemail/index.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/roundcubemail/index.php b/roundcubemail/index.php index dc6bfd40b..87eb57696 100644 --- a/roundcubemail/index.php +++ b/roundcubemail/index.php @@ -111,10 +111,8 @@ if ($RCMAIL->task == 'login' && $RCMAIL->action == 'login') { if ($url = get_input_value('_url', RCUBE_INPUT_POST)) parse_str($url, $query); - $RCMAIL->set_task('mail'); - // allow plugins to control the redirect url after login success - $redir = $RCMAIL->plugins->exec_hook('login_after', $query + array('task' => $RCMAIL->task)); + $redir = $RCMAIL->plugins->exec_hook('login_after', $query); unset($redir['abort']); // send redirect |
