alecpl
2010-02-24 7481dd903e1ee80e6697ba1a73daa6ec740702ff
- don't set task for login_after hook


1 files modified
4 ■■■ changed files
index.php 4 ●●● patch | view | raw | blame | history
index.php
@@ -111,10 +111,8 @@
    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