aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/app.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/app.ts b/lib/app.ts
index 1a2102bd..3b00c702 100644
--- a/lib/app.ts
+++ b/lib/app.ts
@@ -24,7 +24,7 @@ const resLogger = pino(pino.destination("res"));
// Never log plaintext passwords. Redact password fields from request bodies
// before they reach the request log.
-const REDACT_FIELDS = ["password", "confirm"];
+const REDACT_FIELDS = ["password", "confirm", "secret", "otpsecret"];
const redactBody = (body: any) => {
if (!body || typeof body !== "object") return body;
const copy: any = { ...body };