From: Jan Date: Wed, 26 May 2010 15:46:09 +0000 (+0100) Subject: We have to fall through here, because even with transparent authentication and no... X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=582fe2290abc15b174f5cd2a5cd573e0b1d0a086;p=horde.git We have to fall through here, because even with transparent authentication and no 'authenticate' capabilities, there still might be an alternative login screen to redirect to. --- diff --git a/horde/login.php b/horde/login.php index 66dfbc4fa..295130e0f 100644 --- a/horde/login.php +++ b/horde/login.php @@ -101,11 +101,6 @@ $auth = ($app && $is_auth) ? Horde_Auth::singleton('application', array('app' => $app)) : Horde_Auth::singleton($conf['auth']['driver']); -/* Check to see if any authentication is available. */ -if (!$is_auth && !$auth->hasCapability('authenticate')) { - throw new Horde_Exception(_("No authentication available.")); -} - /* Build the list of necessary login parameters. */ $loginparams = array( 'horde_user' => array(