fix: enhance redirect logic in authentication to include 'password' auth type

This commit is contained in:
wxg0103 2025-09-18 13:28:48 +08:00
parent b6bab14d8a
commit 16ade76446

View File

@ -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) => {