Return "401 Unauthorized" status when login fails (#5663)

pull/5815/head
Aleksander Machniak 7 years ago
parent 6dee73a0ec
commit 2cb9de358b

@ -1,6 +1,7 @@
CHANGELOG Roundcube Webmail
===========================
- Return "401 Unauthorized" status when login fails (#5663)
- Support both comma and semicolon as recipient separator, drop recipients_separator option (#5092)
- Plugin API: Added 'show_bytes' hook (#5001)
- subscriptions_option: show \\Noselect folders greyed out (#5621)

@ -245,6 +245,10 @@ if (empty($RCMAIL->user->ID)) {
$RCMAIL->set_task($plugin['task']);
if (!$session_error) {
header('HTTP/1.0 401 Unauthorized');
}
$OUTPUT->send($plugin['task']);
}
else {

Loading…
Cancel
Save