two-factor icon indicating copy to clipboard operation
two-factor copied to clipboard

TOTP: Allow 'Enter' key to submit the auth code form

Open r-a-y opened this issue 3 years ago • 2 comments

Currently for the TOTP method, if you have to add an authentication code for the QR code, you have to manually click on the Submit button in order for the form to submit properly.

This PR allows the Enter key to submit the auth code form, which is better for UX.

If you'd rather have the inline JS put into an external file, let me know. Inline JS was already used in the authentication_page() method so I followed suit.

Fixes #91.

r-a-y avatar Oct 20 '20 04:10 r-a-y

@kasparsd any thoughts on a review of this PR and whether it's ready for consideration in v0.8.0?

jeffpaul avatar May 10 '21 15:05 jeffpaul

Per yesterday's bug scrub, we're going to punt this to future release so that we can focus on the U2F deprecation in 0.8.0.

jeffpaul avatar Mar 24 '22 18:03 jeffpaul