diff options
| author | Adam Soltys <[email protected]> | 2026-10-13 16:23:37 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-10-13 16:23:37 -0700 |
| commit | 12349761c03e769e1d54e878746a10d0a464b38d (patch) | |
| tree | c132cbe2b21de835370476491fb398aac19643f8 /index.ts | |
| parent | d1a12bc0585aa583263362304218803ebf0afa9a (diff) | |
| download | coinos-server-12349761c03e769e1d54e878746a10d0a464b38d.tar.gz coinos-server-12349761c03e769e1d54e878746a10d0a464b38d.zip | |
/me only reports hasnsec now, so sessions that didn't start with a
password login had no way to reveal or sign with their key. POST /nsec
returns it after re-checking the password, under the login per-IP
failure limit.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01UjHzoBmW1iPpEe5qC2LDYB
Diffstat (limited to 'index.ts')
| -rw-r--r-- | index.ts | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -183,6 +183,7 @@ app.get("/subscriptions", auth, users.subscriptions); app.post("/subscription", auth, users.subscription); app.post("/subscription/delete", auth, users.deleteSubscription); app.post("/password", auth, users.password); +app.post("/nsec", auth, users.nsec); app.post("/pin", auth, users.pin); app.post("/otpsecret", auth, users.otpsecret); app.get("/contacts/:limit?", auth, users.contacts); |
