mirror of https://gitee.com/karson/fastadmin.git
Compare commits
2 Commits
ac25e4b275
...
e8d65eb124
| Author | SHA1 | Date |
|---|---|---|
|
|
e8d65eb124 | |
|
|
271596ee2d |
|
|
@ -472,7 +472,7 @@ class Auth extends \fast\Auth
|
|||
->column('name,pid');
|
||||
$pidArr = array_unique(array_filter(array_column($ruleList, 'pid')));
|
||||
foreach ($ruleList as $k => &$v) {
|
||||
if (!in_array($v['name'], $userRule)) {
|
||||
if (!in_array(strtolower($v['name']), $userRule)) {
|
||||
unset($ruleList[$k]);
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue