mirror of
https://github.com/hcengineering/platform.git
synced 2025-05-10 17:30:51 +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 state = safeParseAuthState(rawState)
|
||||||
const branding = getBranding(brandings, state?.branding)
|
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(
|
loginInfo = await joinWithProvider(
|
||||||
measureCtx,
|
measureCtx,
|
||||||
db,
|
db,
|
||||||
@ -100,7 +100,7 @@ export async function handleProviderAuth (
|
|||||||
first,
|
first,
|
||||||
last,
|
last,
|
||||||
socialKey,
|
socialKey,
|
||||||
signUpDisabled === true || state.autoJoin != null
|
signUpDisabled === true || state.autoJoin === true
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user