diff options
author | Craig Andrews <candrews@integralblue.com> | 2009-11-18 15:53:07 -0500 |
---|---|---|
committer | Craig Andrews <candrews@integralblue.com> | 2009-11-18 15:53:07 -0500 |
commit | a215ce6ed6d3a0eb9bb29db5ebe103e28f2ff95e (patch) | |
tree | 32b08f9469eae9df17c743b2600358c740e4d133 | |
parent | 297f320e6f30aa973b275efc4aed59bf8c45fc0a (diff) |
correct login checking logic
-rw-r--r-- | plugins/Authorization/AuthorizationPlugin.php | 6 |
1 files changed, 1 insertions, 5 deletions
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; |