simplesamlphp / simplesamlphp-module-webauthn

A module implementing FIDO2 / WebAuthn as a second authentication factor
GNU Lesser General Public License v2.1
15 stars 8 forks source link

Don't show Remove button until MFA is complete #65

Closed billybillyjim closed 5 months ago

billybillyjim commented 5 months ago

After initial authentication, clicking the Remove button before MFA completion would throw an error.

Hiding the button until then will prevent this error.

tvdijen commented 5 months ago

Looks good to me! Would you mind rebasing against master so we can see how the unit-tests run? I've fixed the codesniffer-issue..

restena-sw commented 5 months ago

Looks good! Merging.