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