From 9e11866dddf5a1682c4de8a2e315922641b77849 Mon Sep 17 00:00:00 2001 From: Mike Cao Date: Mon, 24 Apr 2023 22:00:40 -0700 Subject: [PATCH] Remove password from logging. --- pages/api/auth/login.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/api/auth/login.ts b/pages/api/auth/login.ts index 7ff6267d..10c92647 100644 --- a/pages/api/auth/login.ts +++ b/pages/api/auth/login.ts @@ -54,7 +54,7 @@ export default async ( }); } - log('Login failed:', { user, username, password }); + log('Login failed:', { username, user }); return unauthorized(res, 'message.incorrect-username-password'); }