Commit 6d5f2055 authored by ale's avatar ale

Properly link the logout url on imap login failures

parent 3f23e660
Pipeline #5417 passed with stages
in 3 minutes and 9 seconds
......@@ -75,7 +75,9 @@ class sso extends rcube_plugin
function login_failed($args)
{
echo('<h3>There has been a login error with the mail server. Please go back and try again.</h3>');
$this->load_config();
$sso_logout_url = rcmail::get_instance()->config->get('sso_logout_url');
echo('<h3>There has been a login error with the mail server. Please try <a href="' . $sso_logout_url . '">logging out</a> and logging in 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