You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix: refuse to delete a user's last sign-in method #400
Already handled on main, found while working #433:
deleteCredential (src/controllers/user.ts) refuses to delete a user's last credential with 400 You must keep at least one credential., so no user action can remove their only passkey.
The admin override the issue asks for exists as device replacement recovery (POST /admin/users/{userId}/recovery/device-replacement), which requires admin:write plus step-up and records identity proofing in the audit trail.
The adjacent gap, removing the last admin, is fixed in #433. Policy changes that could strand users are #402 and #403 (v0.20).
Activity
Bccorb commentedon Oct 17, 2026
Already handled on main, found while working #433:
deleteCredential(src/controllers/user.ts) refuses to delete a user's last credential with400 You must keep at least one credential., so no user action can remove their only passkey.POST /admin/users/{userId}/recovery/device-replacement), which requiresadmin:writeplus step-up and records identity proofing in the audit trail.The adjacent gap, removing the last admin, is fixed in #433. Policy changes that could strand users are #402 and #403 (v0.20).