From 240f760f93ffa5731925bd3e34976041638595af Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 21 Jul 2009 21:05:28 -0600 Subject: [PATCH] Fix logic --- framework/Auth/lib/Horde/Auth.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/framework/Auth/lib/Horde/Auth.php b/framework/Auth/lib/Horde/Auth.php index 79af2b257..ca3a39232 100644 --- a/framework/Auth/lib/Horde/Auth.php +++ b/framework/Auth/lib/Horde/Auth.php @@ -626,8 +626,8 @@ class Horde_Auth * 'change' - (boolean) Whether to request that the user change their * password. * DEFAULT: No - * 'login' - (boolean) Do login tasks? - * DEFAULT: True + * 'nologin' - (boolean) Don't do login tasks? + * DEFAULT: Perform login tasks * * * @return boolean Whether authentication was successful. @@ -684,7 +684,7 @@ class Horde_Auth $registry->loadPrefs(); Horde_Nls::setLang($GLOBALS['prefs']->getValue('language')); - if (empty($options['login'])) { + if (!empty($options['nologin'])) { return true; } -- 2.11.0