mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-25 09:37:41 +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
|
// must have one single check
|
||||||
mfaValid = !!(otpEmail || otpSms || totp || webAuthN);
|
mfaValid = !!(otpEmail || otpSms || totp || webAuthN);
|
||||||
if (!mfaValid) {
|
if (!mfaValid) {
|
||||||
console.warn(
|
console.warn("Session has no valid multifactor", session.factors);
|
||||||
"Session has no valid multifactor",
|
|
||||||
JSON.stringify(session.factors),
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
mfaValid = true;
|
mfaValid = true;
|
||||||
|
Reference in New Issue
Block a user