diff options
author | alecpl <alec@alec.pl> | 2010-02-24 12:37:33 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2010-02-24 12:37:33 +0000 |
commit | 7481dd903e1ee80e6697ba1a73daa6ec740702ff (patch) | |
tree | 114cd0040157a739d7c012abfa26d62970b22d32 | |
parent | 333c48caf7b7e166d744a747c90ad2837c17c082 (diff) |
- don't set task for login_after hook
-rw-r--r-- | index.php | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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 |