mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-21 06:51:43 +00:00
Merge pull request #317 from zitadel/fix-rm-log
fix: remove `JSON.stringify` as log
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user