diff options
| author | Adam Soltys <[email protected]> | 2025-01-29 10:19:14 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2025-01-29 10:19:14 -0800 |
| commit | 4f2e4ffdd5de8819abf2fe505fca4af12d3d7f6f (patch) | |
| tree | 467b9064f1659a66927e8d94cad7f5f68dc0ef28 | |
| parent | 972c2499fb508424a3a61125f3e45c2d06cfbb43 (diff) | |
| download | coinos-server-4f2e4ffdd5de8819abf2fe505fca4af12d3d7f6f.tar.gz coinos-server-4f2e4ffdd5de8819abf2fe505fca4af12d3d7f6f.zip | |
log resets
| -rw-r--r-- | routes/users.ts | 7 |
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; |
