Skip to content

Commit

Permalink
Merge pull request #317 from zitadel/fix-rm-log
Browse files Browse the repository at this point in the history
fix: remove `JSON.stringify` as log
  • Loading branch information
peintnermax authored Dec 11, 2024
2 parents f6b257b + 72064de commit 5319705
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions apps/login/src/app/login/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,7 @@ async function isSessionValid(session: Session): Promise<boolean> {
// must have one single check
mfaValid = !!(otpEmail || otpSms || totp || webAuthN);
if (!mfaValid) {
console.warn(
"Session has no valid multifactor",
JSON.stringify(session.factors),
);
console.warn("Session has no valid multifactor", session.factors);
}
} else {
mfaValid = true;
Expand Down

0 comments on commit 5319705

Please sign in to comment.