Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

Remove password from logging.

Mike Cao9e11866dddf5
diff --git a/pages/api/auth/login.ts b/pages/api/auth/login.ts
index 7ff6267d9..10c92647b 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');
}