mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-13 11:20:00 +00:00
fix(idps): do not consider allowed options
This commit is contained in:
@@ -120,7 +120,7 @@ export default async function Page(props: {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// search for potential user via username, then link
|
// search for potential user via username, then link
|
||||||
if (options?.isLinkingAllowed) {
|
if (options?.autoLinking) {
|
||||||
let foundUser;
|
let foundUser;
|
||||||
const email = addHumanUser?.email?.email;
|
const email = addHumanUser?.email?.email;
|
||||||
|
|
||||||
@@ -176,7 +176,7 @@ export default async function Page(props: {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (options?.isCreationAllowed && options.isAutoCreation) {
|
if (options?.isAutoCreation) {
|
||||||
let orgToRegisterOn: string | undefined = organization;
|
let orgToRegisterOn: string | undefined = organization;
|
||||||
let newUser;
|
let newUser;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user