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

Autocomplete attribute on login, register and password_reset #100

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

janic0
Copy link

@janic0 janic0 commented Dec 25, 2024

This PR is a small improvement for the input fields on the login, register and password_reset pages.
It signals password managers to use

  • current-password for login
  • new-password for register and password_reset

See documentation for the autocomplete attribute here:
https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes/autocomplete#new-password

Warning

The forms on all three pages currently have autocomplete="off". It is unclear to me why this is the case, but this PR will have no effect as long as autocompletion is turned off at the form level.

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.

1 participant