mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 10:12:51 +00:00
fix: enhance redirect logic in authentication to include 'password' auth type
This commit is contained in:
parent
b6bab14d8a
commit
16ade76446
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue