summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorCraig Andrews <candrews@integralblue.com>2009-11-18 15:53:07 -0500
committerCraig Andrews <candrews@integralblue.com>2009-11-18 15:53:07 -0500
commita215ce6ed6d3a0eb9bb29db5ebe103e28f2ff95e (patch)
tree32b08f9469eae9df17c743b2600358c740e4d133 /plugins
parent297f320e6f30aa973b275efc4aed59bf8c45fc0a (diff)
correct login checking logic
Diffstat (limited to 'plugins')
-rw-r--r--plugins/Authorization/AuthorizationPlugin.php6
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;