diff options
| author | Adam Soltys <[email protected]> | 2026-12-02 13:45:51 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-12-02 13:45:51 -0700 |
| commit | 74939c517b51a08e88106e10b93aafc9988cdb98 (patch) | |
| tree | 35b2f26908d46ef057748537685d5a48e5e7cf9d /lib/square.ts | |
| parent | 5b7881f3195d9c1479cfffc207014540a9db4d9a (diff) | |
| download | coinos-server-74939c517b51a08e88106e10b93aafc9988cdb98.tar.gz coinos-server-74939c517b51a08e88106e10b93aafc9988cdb98.zip | |
users: unlink an anon account's pubkey only after the signature checks out
Updating your pubkey to one held by an anonymous account deleted that
account's user:<pubkey> pointer before the signed challenge was verified,
so a request with a bad signature still detached the key from its account.
Do the unlink after verification succeeds.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VMan6SSfVopM1ZzXKZmLYU
Diffstat (limited to 'lib/square.ts')
0 files changed, 0 insertions, 0 deletions
