mirror of
https://github.com/0rangebananaspy/authelia.git
synced 2024-09-14 22:47:21 +07:00
69c822a7ed
Currently the first factor login page has somewhat inconsistent behaviour when pressing enter on a field. The typical workflow will focus the next field from username -> password -> attempt login. However if a user wants to tab down and hit spacebar to activate the remember me option, they cannot just hit enter and attempt a login. This change will attempt a sign-in if the username and password fields both contain data and enter is pressed on either the username, password or remember me fields. If the first condition is not met the the respective field(s) will error (turn red) and focus will be set to the in sequential order per the normal workflow. |
||
---|---|---|
.. | ||
assets/images | ||
components | ||
hooks | ||
layouts | ||
models | ||
services | ||
utils | ||
views | ||
App.test.tsx | ||
App.tsx | ||
constants.ts | ||
index.css | ||
index.tsx | ||
react-app-env.d.ts | ||
Routes.ts | ||
serviceWorker.ts | ||
setupTests.js |