diff --git a/extend/catcher/CatchAdmin.php b/extend/catcher/CatchAdmin.php index 6044e6f..87178f7 100644 --- a/extend/catcher/CatchAdmin.php +++ b/extend/catcher/CatchAdmin.php @@ -280,8 +280,11 @@ class CatchAdmin { $routeFiles = []; foreach (self::getModulesDirectory() as $module) { - if (file_exists($module . 'route.php')) { - $routeFiles[] = $module . 'route.php'; + $moduleInfo = self::getModuleInfo($module); + if (!in_array($moduleInfo['alias'], ['login'])) { + if (file_exists($module . 'route.php')) { + $routeFiles[] = $module . 'route.php'; + } } } $routes = '';