readthedocs / readthedocs/ext-theme
2fa: focus the code input field automatically
Open
Nobody has claimed this yet.
Improvement
- Dominant language
- HTML
- Stars
- 12
- Forks
- 6
- Avg merge
- 13h 25m
- Merged PRs (30d)
- 1
Description
When login in with an account that has 2fa enabled I see this page:
It would be good to put the focus automatically in the "Code" input field so we can paste it directly without having to focus on it first.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the login template that renders the 2FA page and its "Code" input field. Add automatic focus to that field, then verify that the field is focused on page load and that a code can be pasted immediately without clicking it.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- authentication, frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100