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

Login page input fields should have autocomplete attributes #2840

Open
jum opened this issue Mar 27, 2024 · 2 comments
Open

Login page input fields should have autocomplete attributes #2840

jum opened this issue Mar 27, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@jum
Copy link

jum commented Mar 27, 2024

The input field for the user name should have an autocomplete=“username” and password accordingly an autocomplete=“current-password” attribute. In the case of webauthn there should an autocomplete=“username webauthn” attribute for the user name to make filling out the values easier for the user as the browser pre-fills the data.

@casbin-bot
Copy link
Contributor

@casbin-bot casbin-bot added the question Further information is requested label Mar 27, 2024
@jum
Copy link
Author

jum commented Mar 27, 2024

I forgot: a type=“email” for the user name field may help users with mobile devices to avoid the auto-capitalization of the plain input field. Even though I use all lower case usernames for webauthn, the autocapitalization of the first letter is annoying.

@hsluoyz hsluoyz added enhancement New feature or request and removed question Further information is requested labels Mar 27, 2024
@casdoor casdoor deleted a comment from jum Apr 9, 2024
@casdoor casdoor deleted a comment from jum Apr 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants