mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
Fixed auth bug
This commit is contained in:
parent
fde8ecf36d
commit
b26b9c061c
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