]> git.proxmox.com Git - proxmox-backup.git/commit
ui: webauthn registration: adapt error messages
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 3 Mar 2021 12:59:58 +0000 (13:59 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 3 Mar 2021 13:05:05 +0000 (14:05 +0100)
commit7f9eef1d472bed7c56cc21ffdcedc24d98563d41
treecc282d0acf8a5199a59d3f4460fff411a372d81c
parenta8a0132766cd33b561076ba2739f2f88cbfc9a8e
ui: webauthn registration: adapt error messages

There are variuos hints that 'InvalidStateError' can be assumed to
come from an already registered token[0][1].

So indicate that more strongly, also omit the extra line and warning
triangle, there's already an error icon present.

[0]: step 2: https://w3c.github.io/webauthn/#sctn-registering-a-new-credential
[1]: step 3: https://w3c.github.io/webauthn/#sctn-op-make-cred

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
www/window/AddWebauthn.js