Fixed auth bug
This commit is contained in:
parent
fde8ecf36d
commit
b26b9c061c
|
@ -72,10 +72,6 @@ class Authorization extends Validator
|
|||
return false;
|
||||
}
|
||||
|
||||
if(is_array($permissions[$this->action]) && empty($permissions[$this->action])) {
|
||||
return true;
|
||||
}
|
||||
|
||||
$permission = null;
|
||||
|
||||
foreach ($permissions[$this->action] as $permission) {
|
||||
|
|
Loading…
Reference in a new issue