From efbf557cc00a7fab7589ca6b8cec69e7f21b6a63 Mon Sep 17 00:00:00 2001 From: wolfcode <37436228+wolf-leo@users.noreply.github.com> Date: Fri, 19 Jul 2024 21:14:28 +0800 Subject: [PATCH] fix(admin): ensure CheckAuth is enabled for route verification Enable CheckAuth in the admin route configuration which was previously commented out, ensuring that node permissions are validated as expected. --- app/admin/config/route.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/admin/config/route.php b/app/admin/config/route.php index de40426..a8eac1d 100644 --- a/app/admin/config/route.php +++ b/app/admin/config/route.php @@ -20,9 +20,9 @@ return [ CheckInstall::class, // 检测是否登录 CheckLogin::class, - // 验证节点权限 - CheckAuth::class, // 操作日志 SystemLog::class, + // 验证节点权限 + CheckAuth::class, ], ]; \ No newline at end of file