rspace-online/src
Jeff Emmett 93a63cd42b fix(register): reject duplicate usernames before passkey prompt
Friend hit a 500 on /api/register/complete because the Postgres unique
constraint fired after the WebAuthn ceremony — they'd already burned a
passkey creation by the time the server refused. Pre-check the username in
/api/register/start so the join page shows "Username is already taken"
before the browser prompts. Also catch the 23505 duplicate-key error in
/api/register/complete as a race-condition safety net.
2026-04-17 10:14:54 -04:00
..
encryptid fix(register): reject duplicate usernames before passkey prompt 2026-04-17 10:14:54 -04:00
lib feat: add JSON WebSocket mode, demo seed data, and useDemoSync hook 2026-02-15 09:38:59 -07:00