Fix logout reason.
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 9 Jul 2009 08:15:04 +0000 (02:15 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 9 Jul 2009 08:15:04 +0000 (02:15 -0600)
imp/login.php

index eb3852d..cb90d4e 100644 (file)
@@ -146,7 +146,7 @@ if (!$logout_reason && IMP_Session::canAutoLogin($server_key, $autologin)) {
 $title = sprintf(_("Welcome to %s"), $registry->get('name', ($imp_auth) ? 'horde' : null));
 
 if ($logout_reason) {
-    $notification->push(str_replace('<br />', ' ', $logout_reason), 'horde.message');
+    $notification->push(str_replace('<br />', ' ', Horde_Auth::getLogoutReasonString()), 'horde.message');
 }
 
 /* Build the <select> widget for the servers and hordeauth servers lists. */