diff --git a/web/tenant/src/stores/tenant-auth.ts b/web/tenant/src/stores/tenant-auth.ts index 568c00d..a674e24 100644 --- a/web/tenant/src/stores/tenant-auth.ts +++ b/web/tenant/src/stores/tenant-auth.ts @@ -122,7 +122,7 @@ export const useTenantAuthStore = defineStore('tenant-auth', () => { captcha_key: captcha?.captchaKey, captcha_x: captcha?.captchaX, turnstile_token: captcha?.turnstileToken, - }) + }, { _suppressErrorMsg: true } as any) if (data.data?.totp_required) { return data.data } diff --git a/web/tenant/src/views/auth/LoginPage.vue b/web/tenant/src/views/auth/LoginPage.vue index abf5540..501c554 100644 --- a/web/tenant/src/views/auth/LoginPage.vue +++ b/web/tenant/src/views/auth/LoginPage.vue @@ -367,16 +367,6 @@ async function handleOAuthLogin(provider: string) { - - -
-
- -

{{ errorMsg }}

-
-
-
-