mirror of
https://github.com/labring/FastGPT.git
synced 2025-12-26 04:32:50 +00:00
fix: handle sso state (#3402)
Some checks are pending
Build FastGPT images in Personal warehouse / build-fastgpt-images (push) Waiting to run
Some checks are pending
Build FastGPT images in Personal warehouse / build-fastgpt-images (push) Waiting to run
This commit is contained in:
parent
b4933471cd
commit
76d20b2b76
|
|
@ -79,7 +79,12 @@ const provider = () => {
|
|||
return;
|
||||
}
|
||||
|
||||
if (!code || !loginStore?.state || !state) return;
|
||||
if (
|
||||
!code ||
|
||||
!loginStore ||
|
||||
(loginStore.provider !== OAuthEnum.sso && (!loginStore.state || !state))
|
||||
)
|
||||
return;
|
||||
|
||||
if (isOauthLogging) return;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue