Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 2 commits into from

Conversation

r-a-y
Copy link
Contributor

@r-a-y r-a-y commented Oct 20, 2020

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 r-a-y changed the title TOTP: Alow 'Enter' key to submit the auth code form TOTP: Allow 'Enter' key to submit the auth code form Oct 20, 2020
@jeffpaul jeffpaul requested a review from kasparsd April 9, 2021 20:28
@jeffpaul jeffpaul added this to the 0.8.0 milestone Apr 9, 2021
@jeffpaul
Copy link
Member

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

@jeffpaul
Copy link
Member

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 jeffpaul modified the milestones: 0.8.0, Future Release Mar 24, 2022
@kasparsd
Copy link
Collaborator

#518 introduced automatic submit of the input if the input character count matches the expected code length, so it is now doing autosubmit.

@kasparsd kasparsd closed this Apr 25, 2024
@jeffpaul jeffpaul removed this from the Future Release milestone May 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Pressing "Enter" instead of clicking the "Update Profile" button fails to enable the TOTP
3 participants