From: Michael M Slusarz Date: Wed, 22 Jul 2009 03:05:28 +0000 (-0600) Subject: Fix logic X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=240f760f93ffa5731925bd3e34976041638595af;p=horde.git Fix logic --- 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; }