1
0
Fork 0
mirror of synced 2024-06-03 03:14:50 +12:00

Fixed auth bug

This commit is contained in:
Eldad Fux 2020-03-16 20:39:24 +02:00
parent fde8ecf36d
commit b26b9c061c

View file

@ -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) {