CZ-NIC / django-fido

Django application for FIDO protocol U2F
GNU General Public License v3.0
28 stars 11 forks source link

Unhelpful error when wrong key is used #170

Closed stinovlas closed 1 year ago

stinovlas commented 1 year ago

When user with registered security keys tries to log in using some other FIDO key, he gets unhelpful error message:

An unknown error has occurred.

We should display more meaningful message instead (e.g. This security key is not registered in your account.).

This is especially unpleasant with Firefox that doesn't inform user about wrong security key like chrome does.