From a215ce6ed6d3a0eb9bb29db5ebe103e28f2ff95e Mon Sep 17 00:00:00 2001 From: Craig Andrews Date: Wed, 18 Nov 2009 15:53:07 -0500 Subject: correct login checking logic --- plugins/Authorization/AuthorizationPlugin.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'plugins') diff --git a/plugins/Authorization/AuthorizationPlugin.php b/plugins/Authorization/AuthorizationPlugin.php index be39aedd2..6f21c9310 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; -- cgit v1.2.3-54-g00ecf