From 2aba167d0d257d886422d81470a310d682ab0171 Mon Sep 17 00:00:00 2001 From: Oleksandr Date: Thu, 5 Oct 2023 16:01:01 +0300 Subject: [PATCH] Update AuthHelper.php fix for update --- components/AuthHelper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/AuthHelper.php b/components/AuthHelper.php index 2462755e..15678b09 100644 --- a/components/AuthHelper.php +++ b/components/AuthHelper.php @@ -353,10 +353,10 @@ private static function getControllerRoutes($module, $namespace, $prefix, &$resu $className = $namespace . Inflector::id2camel($id) . 'Controller'; if ( strpos($className, '-') === false && class_exists($className) && is_subclass_of($className, 'yii\base\Controller') ) { - //Наші костилі + //== Наші костилі == if($className =='Da\User\Controller\AbstractAuthItemController') continue; if($className =='Da\User\Controller\api\v1\AdminController') continue; - //end + //== end == if($id =='admin') continue; if($prefix . $id =='admin') continue; if($prefix . $id =='permission') continue;