diff options
| author | Adam Soltys <[email protected]> | 2026-06-13 14:21:49 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-06-13 14:21:49 -0700 |
| commit | 2548f7578ab879bc7eb292462b13f41e7f3112e5 (patch) | |
| tree | a75ff4a96e3749017db7a4d65761c42e75c23b11 /setup.sh | |
| parent | ca28c19fe26d3f81ae62d2d3f0dc8b175849a9a8 (diff) | |
| download | coinos-server-2548f7578ab879bc7eb292462b13f41e7f3112e5.tar.gz coinos-server-2548f7578ab879bc7eb292462b13f41e7f3112e5.zip | |
users: add authenticated self-delete endpoint
POST /delete (auth) wipes every key tied to the calling user, mirroring
scripts/delall-legacy.ts: user records, payments/invoices, sub-accounts,
NWC apps, nostr follow graph + nip5. Gated by typing the username and
refuses while balance+pending > 10k sats so funds can't be destroyed by
accident.
Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
Diffstat (limited to 'setup.sh')
0 files changed, 0 insertions, 0 deletions
