Skip to content

Commit 16ade76

Browse files
committed
fix: enhance redirect logic in authentication to include 'password' auth type
1 parent b6bab14 commit 16ade76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/views/chat/user-login/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ function uuidv4() {
304304
}
305305
306306
function redirectAuth(authType: string, needMessage: boolean = false) {
307-
if (authType === 'LDAP' || authType === '') {
307+
if (authType === 'LDAP' || authType === '' || authType === 'password') {
308308
return
309309
}
310310
loginApi.getAuthSetting(authType, loading).then((res: any) => {

0 commit comments

Comments
 (0)