mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 10:04:25 +00:00
cleanup logs
This commit is contained in:
@@ -68,7 +68,6 @@ export function VerifyForm({ userId, code, isInvite, params }: Props) {
|
|||||||
userId,
|
userId,
|
||||||
isInvite: isInvite,
|
isInvite: isInvite,
|
||||||
}).catch(() => {
|
}).catch(() => {
|
||||||
console.log(error);
|
|
||||||
setError("Could not verify email");
|
setError("Could not verify email");
|
||||||
setLoading(false);
|
setLoading(false);
|
||||||
return;
|
return;
|
||||||
|
|||||||
@@ -61,7 +61,6 @@ export async function sendVerification(command: VerifyUserByEmailCommand) {
|
|||||||
if (!authMethodResponse || !authMethodResponse.authMethodTypes) {
|
if (!authMethodResponse || !authMethodResponse.authMethodTypes) {
|
||||||
return { error: "Could not load possible authenticators" };
|
return { error: "Could not load possible authenticators" };
|
||||||
}
|
}
|
||||||
console.log("xs");
|
|
||||||
// if no authmethods are found on the user, redirect to set one up
|
// if no authmethods are found on the user, redirect to set one up
|
||||||
if (
|
if (
|
||||||
authMethodResponse &&
|
authMethodResponse &&
|
||||||
@@ -75,8 +74,6 @@ export async function sendVerification(command: VerifyUserByEmailCommand) {
|
|||||||
if (session.factors?.user?.loginName) {
|
if (session.factors?.user?.loginName) {
|
||||||
params.set("loginName", session.factors?.user?.loginName);
|
params.set("loginName", session.factors?.user?.loginName);
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log("/authenticator/set?" + params);
|
|
||||||
return redirect("/authenticator/set?" + params);
|
return redirect("/authenticator/set?" + params);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user