-
-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Add 'Show Password' Button for Password Fields During Password Change Process #11948
Comments
Probably worth mentioning, there are known security issues with 'reveal password' features, since browsers treat them as plain text inputs while they're in the "visible" state, and may store or transmit that text insecurely for purposes like spellchecking and crash recovery: It seems there's also some disagreement between security auditors and accessibility advocates about whether password reveal is good practice or not... |
It is interesting to see that GDS has now an official password input component that does show/hide and it toggles beteewn Similar security concerns were raised in alphagov/govuk-design-system-backlog#240 (which is the discussion for the new component) |
In this Login page i had added the functionality to show password using JS
Added show password option so that when user tries to change password he gets an option to view it issue wagtail#11948
I had added the show password button the pull had been requested |
i want to work on this issue , if this issue is still opens @gasman , i will solve this by implementing a button next to password-related fields that toggles the visibility of the password when clicked. The password characters will switch between being obscured () and visible (). if any other approach is required to solve kindly gave me the details about that approach as well |
Hi @29deepanshutyagi - thanks for your interest! There's an existing pull request for this issue at #11961, but it requires some extra work. If you're interested in picking this up, please see @lb-'s comment at #11961 (comment). |
yes , i am willing to do that extra work and solve this issue completely |
@29deepanshutyagi here's a good starting point for a Stimulus implementation of this feature. https://github.com/stimulus-components/stimulus-password-visibility/blob/master/src/index.ts I'd recommend we add this capability to the the ActionController. Maybe we should have a seperate controller, see what feels right when building it out. Also, a reminder that the issue is about the password field that's used when editing your account, not for the admin sign in form. I would not suggest this feature for the sign in form, based on the discussion above. However, once have the ability to use this for the password change form we can explore other usage. |
Is your proposal related to a problem?
While changing my password, I noticed that it's not possible to see the last letter I typed, which is common in password fields, and there's also no "show password" button.
Describe the solution you'd like
I would like a button next to the password-related fields where, upon clicking, the characters that were previously obscured can be seen, and upon clicking again, they become obscured.
Anyone can contribute to this. View our contributing guidelines, add a comment to the issue once you’re ready to start.
The text was updated successfully, but these errors were encountered: