mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-02-24 04:10:57 -05:00
When we are unable to delete security key because it's the last one for that user, API throws an error. Here we catch that error and display useful message to the user. Use security key instead of webauthn credential in user facing message - for consistency and readability. We use security key term in user facing stuff and webauthn credential in the code.