Plugin API: Add 'unauthenticated' hook (#1488138)
| | |
| | | CHANGELOG Roundcube Webmail |
| | | =========================== |
| | | |
| | | - Plugin API: Add 'unauthenticated' hook (#1488138) |
| | | - Show explicit error message when provided hostname is invalid (#1488550) |
| | | - Fix wrong compose screen elements focus in IE9 (#1488541) |
| | | - Fix fatal error when date.timezone isn't set (#1488546) |
| | |
| | | if ($session_error || $_REQUEST['_err'] == 'session') |
| | | $OUTPUT->show_message('sessionerror', 'error', null, true, -1); |
| | | |
| | | $RCMAIL->set_task('login'); |
| | | $OUTPUT->send('login'); |
| | | $plugin = $RCMAIL->plugins->exec_hook('unauthenticated', array('task' => 'login', 'error' => $session_error)); |
| | | |
| | | $RCMAIL->set_task($plugin['task']); |
| | | $OUTPUT->send($plugin['task']); |
| | | } |
| | | // CSRF prevention |
| | | else { |