lucas-a-martins opened a new pull request, #8766: URL: https://github.com/apache/cloudstack/pull/8766
### Description Every time a user is redirected to the 2FA screen, the input lacks `autofocus` and the user has to click in the input before being able to type the authentication PIN. This pull request addresses this issue by adding the `autofocus` whenever the user is redirected to the 2FA page. ### Types of changes - [ ] Breaking change (fix or feature that would cause existing functionality to change) - [ ] New feature (non-breaking change which adds functionality) - [ ] Bug fix (non-breaking change which fixes an issue) - [x] Enhancement (improves an existing feature and functionality) - [ ] Cleanup (Code refactoring and cleanup, that may add test cases) - [ ] build/CI ### Feature/Enhancement Scale or Bug Severity #### Feature/Enhancement Scale - [ ] Major - [x] Minor #### Bug Severity - [ ] BLOCKER - [ ] Critical - [ ] Major - [ ] Minor - [ ] Trivial ### Screenshots (if appropriate): ### How Has This Been Tested? By using a user with 2FA enabled, I made the following tests: By opening the UI for the first time, I logged in. Then, I logged off and logged in again. After being redirected to the 2FA screen, I returned to the login screen and logged in again. After each login, I was redirected to the 2FA screen and the `autofocus` worked as expected. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
