Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

- don't set task for login_after hook

  • Loading branch information...
commit 7481dd903e1ee80e6697ba1a73daa6ec740702ff 1 parent 333c48c
Aleksander Machniak alecpl authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 index.php
4 index.php
View
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.