From 582fe2290abc15b174f5cd2a5cd573e0b1d0a086 Mon Sep 17 00:00:00 2001 From: Jan Date: Wed, 26 May 2010 16:46:09 +0100 Subject: [PATCH] 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. --- horde/login.php | 5 ----- 1 file changed, 5 deletions(-) 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( -- 2.11.0