Changed Auth default
This commit is contained in:
parent
0f3f090e09
commit
89ba82755e
1 changed files with 0 additions and 4 deletions
|
@ -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