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

View File

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