bug fix
This commit is contained in:
parent
6712999a8e
commit
ccb1d13bd9
|
@ -73,7 +73,7 @@ class Authenticate
|
|||
$match = [];
|
||||
foreach ($user['roles'] as $role) {
|
||||
if (array_key_exists($role, $privileges)) {
|
||||
$match += $privileges[$role['role']['key']];
|
||||
$match += $privileges[$role];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user