mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-19 08:19:15 +08:00
fix: 修复登录菜单消失
This commit is contained in:
parent
86e5fc36f4
commit
2c3a8dd6af
@ -286,8 +286,8 @@ const mfaLogin = async (auto: boolean) => {
|
||||
if (isLoggingIn) {
|
||||
return;
|
||||
}
|
||||
isLoggingIn = true;
|
||||
if ((!auto && mfaLoginForm.code) || (auto && mfaLoginForm.code.length === 6)) {
|
||||
isLoggingIn = true;
|
||||
mfaLoginForm.name = loginForm.name;
|
||||
mfaLoginForm.password = loginForm.password;
|
||||
const res = await mfaLoginApi(mfaLoginForm);
|
||||
|
Loading…
x
Reference in New Issue
Block a user