This commit is contained in:
候学杰 2018-01-10 14:05:56 +08:00
parent 074ba0d93e
commit cab65e7709

View File

@ -73,7 +73,7 @@ class Authenticate
$match = [];
foreach ($user['roles'] as $role) {
if (array_key_exists($role['role']['role'], $privileges)) {
$match = $privileges[$role['role']['role']];
$match += $privileges[$role['role']['role']];
}
}