From 16ade76446698712339eb42272adfbf65437c5c2 Mon Sep 17 00:00:00 2001 From: wxg0103 <727495428@qq.com> Date: Thu, 18 Sep 2025 13:28:48 +0800 Subject: [PATCH] fix: enhance redirect logic in authentication to include 'password' auth type --- ui/src/views/chat/user-login/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/views/chat/user-login/index.vue b/ui/src/views/chat/user-login/index.vue index a3559c6da..5667aad73 100644 --- a/ui/src/views/chat/user-login/index.vue +++ b/ui/src/views/chat/user-login/index.vue @@ -304,7 +304,7 @@ function uuidv4() { } function redirectAuth(authType: string, needMessage: boolean = false) { - if (authType === 'LDAP' || authType === '') { + if (authType === 'LDAP' || authType === '' || authType === 'password') { return } loginApi.getAuthSetting(authType, loading).then((res: any) => {