mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-21 11:43:56 +00:00
fix: handle sso state (#3402)
This commit is contained in:
@@ -79,7 +79,12 @@ const provider = () => {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!code || !loginStore?.state || !state) return;
|
if (
|
||||||
|
!code ||
|
||||||
|
!loginStore ||
|
||||||
|
(loginStore.provider !== OAuthEnum.sso && (!loginStore.state || !state))
|
||||||
|
)
|
||||||
|
return;
|
||||||
|
|
||||||
if (isOauthLogging) return;
|
if (isOauthLogging) return;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user