From: Craig Andrews Date: Wed, 18 Nov 2009 20:53:07 +0000 (-0500) Subject: correct login checking logic X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a215ce6ed6d3a0eb9bb29db5ebe103e28f2ff95e;p=quix0rs-gnu-social.git correct login checking logic --- 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;