Commit 3f23e660 authored by ale's avatar ale

Do not serve 500 on failed imap logins

With status code 500 nginx will replace the error page with its own,
and the users won't see the message.
parent 71931365
......@@ -75,7 +75,6 @@ class sso extends rcube_plugin
function login_failed($args)
{
http_response_code(500);
echo('<h3>There has been a login error with the mail server. Please go back and try again.</h3>');
exit;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment