mirror of
https://github.com/hcengineering/platform.git
synced 2025-05-10 09:22:23 +00:00
Qfix idp signup (#8455)
Signed-off-by: Alexey Zinoviev <alexey.zinoviev@xored.com>
This commit is contained in:
parent
9e32ef2a26
commit
690dd788e9
@ -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
|
||||
)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user