cleanup logs

This commit is contained in:
Max Peintner
2024-10-25 10:16:31 +02:00
parent 5fd72f5388
commit 1616e60857
2 changed files with 0 additions and 4 deletions

View File

@@ -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;

View File

@@ -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);
}