From 62b3d97bdf7741d9aab6b68a1e531d8bd08da883 Mon Sep 17 00:00:00 2001 From: lizw-2015 <1183409807@qq.com> Date: Fri, 20 Jun 2025 15:14:50 +0800 Subject: [PATCH] =?UTF-8?q?feat(auth):=20=E5=AE=9E=E7=8E=B0=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E7=99=BB=E5=BD=95=E5=92=8C=E6=9D=83=E9=99=90=E6=8E=A7?= =?UTF-8?q?=E5=88=B6=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 新增登录页面和相关组件 - 实现用户认证和权限管理 - 更新路由配置,增加登录路由和权限控制 - 调整表单组件,支持登录表单 - 更新全局配置,增加用户信息和安全角色 --- servo/src/main/resources/application.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/servo/src/main/resources/application.yml b/servo/src/main/resources/application.yml index e4f90e9..d2a7c0f 100644 --- a/servo/src/main/resources/application.yml +++ b/servo/src/main/resources/application.yml @@ -161,15 +161,15 @@ web: - '/**/.git' ignore-auth-paths: [ ] ignore-auth-failed-paths: [ ] - current-user-path: '/current_user' + current-user-path: '/api/current_user' login: - paths: [ '/login' ] + paths: [ '/api/login' ] post-only: true allow-repeat-login: true concurrent-login-count: 1 allow-after-login: true logout: - path: '/logout' + path: '/api/logout' token: secret-key: 'yvan-lcc-bench' token-validity: 30d