Qfix idp signup (#8455)

Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
This commit is contained in:
Alexey Zinoviev 2025-04-03 17:29:01 +04:00 committed by GitHub
parent 9e32ef2a26
commit 690dd788e9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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
)
}