From a215ce6ed6d3a0eb9bb29db5ebe103e28f2ff95e Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Wed, 18 Nov 2009 15:53:07 -0500 Subject: [PATCH] correct login checking logic --- plugins/Authorization/AuthorizationPlugin.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/plugins/Authorization/AuthorizationPlugin.php b/plugins/Authorization/AuthorizationPlugin.php index be39aedd21..6f21c93109 100644 --- a/plugins/Authorization/AuthorizationPlugin.php +++ b/plugins/Authorization/AuthorizationPlugin.php @@ -73,11 +73,7 @@ abstract class AuthorizationPlugin extends Plugin function onStartSetUser(&$user) { $loginAllowed = $this->loginAllowed($user); if($loginAllowed === true){ - if($this->authoritative) { - return false; - }else{ - return; - } + return; }else if($loginAllowed === false){ $user = null; return false; -- 2.39.5