CZ-NIC / django-fido

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

Produce helpful error in JS on failed registration request #45

Closed tpazderka closed 4 years ago

tpazderka commented 4 years ago

If fetching of the registration request fails (the response is not OK), the JS simply skips the process and does nothing.

In reality, it should probably produce some (helpful) error message, that can be displayed to the user.

We can probably display the content of the error message. If it is empty (can it be?) we should output an unknown error.