aboutsummaryrefslogtreecommitdiffstats
path: root/routes
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2025-01-29 10:19:14 -0800
committerAdam Soltys <[email protected]>2025-01-29 10:19:14 -0800
commit4f2e4ffdd5de8819abf2fe505fca4af12d3d7f6f (patch)
tree467b9064f1659a66927e8d94cad7f5f68dc0ef28 /routes
parent972c2499fb508424a3a61125f3e45c2d06cfbb43 (diff)
downloadcoinos-server-4f2e4ffdd5de8819abf2fe505fca4af12d3d7f6f.tar.gz
coinos-server-4f2e4ffdd5de8819abf2fe505fca4af12d3d7f6f.zip
log resets
Diffstat (limited to 'routes')
-rw-r--r--routes/users.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/routes/users.ts b/routes/users.ts
index f4d079e8..c54f4ae2 100644
--- a/routes/users.ts
+++ b/routes/users.ts
@@ -520,6 +520,13 @@ export default {
if (!user) fail("user not found");
+ warn(
+ "password reset",
+ user.username,
+ code,
+ req.headers["cf-connecting-ip"],
+ );
+
try {
user.pin = null;