fix: enhance redirect logic in authentication to include 'password' auth type
parent
b6bab14d8a
commit
16ade76446
|
|
@ -304,7 +304,7 @@ function uuidv4() {
|
||||||
}
|
}
|
||||||
|
|
||||||
function redirectAuth(authType: string, needMessage: boolean = false) {
|
function redirectAuth(authType: string, needMessage: boolean = false) {
|
||||||
if (authType === 'LDAP' || authType === '') {
|
if (authType === 'LDAP' || authType === '' || authType === 'password') {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
loginApi.getAuthSetting(authType, loading).then((res: any) => {
|
loginApi.getAuthSetting(authType, loading).then((res: any) => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue