fix: skip thirdparty sso state verification (#3721) (#3782)

This commit is contained in:
a.e.
2025-02-14 11:39:34 +08:00
committed by GitHub
parent abd375cdec
commit 1226fe42a1

View File

@@ -97,7 +97,7 @@ const provider = () => {
await clearToken();
router.prefetch('/app/list');
if (loginStore && state !== loginStore.state) {
if (loginStore && loginStore.provider !== 'sso' && state !== loginStore.state) {
toast({
status: 'warning',
title: t('common:support.user.login.security_failed')