summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;