From 690dd788e98ab13767a6b65cf98cf33c50a4b53c Mon Sep 17 00:00:00 2001 From: Alexey Zinoviev Date: Thu, 3 Apr 2025 17:29:01 +0400 Subject: [PATCH] Qfix idp signup (#8455) Signed-off-by: Alexey Zinoviev --- pods/authProviders/src/utils.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pods/authProviders/src/utils.ts b/pods/authProviders/src/utils.ts index 31ca1c6955..e20d6bf413 100644 --- a/pods/authProviders/src/utils.ts +++ b/pods/authProviders/src/utils.ts @@ -79,7 +79,7 @@ export async function handleProviderAuth ( const state = safeParseAuthState(rawState) const branding = getBranding(brandings, state?.branding) - if (state.inviteId != null && state.inviteId !== '' && state.autoJoin == null) { + if (state.inviteId != null && state.inviteId !== '' && state.autoJoin !== true) { loginInfo = await joinWithProvider( measureCtx, db, @@ -100,7 +100,7 @@ export async function handleProviderAuth ( first, last, socialKey, - signUpDisabled === true || state.autoJoin != null + signUpDisabled === true || state.autoJoin === true ) }