Compare commits

..

No commits in common. "e8d65eb124d7cc4cc37441386fab58c042fdedde" and "ac25e4b2754831fc94941cc7ff7d7c1edcaaf8cc" have entirely different histories.

1 changed files with 1 additions and 1 deletions

View File

@ -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(strtolower($v['name']), $userRule)) {
if (!in_array($v['name'], $userRule)) {
unset($ruleList[$k]);
continue;
}