mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 18:32:20 +00:00
rm logs
This commit is contained in:
@@ -73,7 +73,6 @@ export default async function Page(props: {
|
|||||||
const providerType = idpTypeToIdentityProviderType(idp.type);
|
const providerType = idpTypeToIdentityProviderType(idp.type);
|
||||||
|
|
||||||
if (link && options?.isLinkingAllowed) {
|
if (link && options?.isLinkingAllowed) {
|
||||||
console.log(userId);
|
|
||||||
let idpLink;
|
let idpLink;
|
||||||
try {
|
try {
|
||||||
idpLink = await addIDPLink(
|
idpLink = await addIDPLink(
|
||||||
@@ -85,12 +84,10 @@ export default async function Page(props: {
|
|||||||
userId,
|
userId,
|
||||||
);
|
);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
|
||||||
return linkingFailed(branding);
|
return linkingFailed(branding);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!idpLink) {
|
if (!idpLink) {
|
||||||
console.log("linking failed");
|
|
||||||
return linkingFailed(branding);
|
return linkingFailed(branding);
|
||||||
} else {
|
} else {
|
||||||
return linkingSuccess(
|
return linkingSuccess(
|
||||||
@@ -140,7 +137,6 @@ export default async function Page(props: {
|
|||||||
foundUser.userId,
|
foundUser.userId,
|
||||||
);
|
);
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error(error);
|
|
||||||
return linkingFailed(branding);
|
return linkingFailed(branding);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user