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