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

Explicitly turn off autocomplete for API login form #14232

Merged
merged 1 commit into from
Jul 26, 2023

Conversation

rooftopcellist
Copy link
Member

SUMMARY

Users have pointed out the the username and password should not be autocompleted for the login form. That has been corrected for the UI in this PR, but not for the API for the username. That is what this PR addresses.

I also explicitly set autocomplete to off for the password field even though that appears to be the default.

ISSUE TYPE
  • Bug, Docs Fix or other nominal change
COMPONENT NAME
  • API

Copy link
Member

@mabashian mabashian left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rooftopcellist thanks for sending this through. Adding autocomplete="off" to each input should work just fine. You could also set it on the form element to hit all the inputs at once. Both approaches should be valid.

@chadmf
Copy link
Collaborator

chadmf commented Jul 25, 2023

lgtm! @rooftopcellist can we get this in soonish?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants