Skip to content

Add show password eye on each password input to show/hide passwords #1065

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

qrainaud
Copy link

@qrainaud qrainaud commented Apr 14, 2025

Added an eye icon on each password input to hide/show passwords.
Added js/show-password.js javascript file to be included in templates/change.tpl template.
Added .password-toggle-icon and .password-toggle-icon i in css/self-service-password.css.

@pierre-guillot
Copy link

👍

@qrainaud qrainaud changed the title Add show password eye on each password input to show-hide passwords Add show password eye on each password input to show/hide passwords Apr 14, 2025
@coudot coudot added this to the 1.8.0 milestone Apr 14, 2025
@coudot
Copy link
Member

coudot commented May 12, 2025

We should add a configuration parameter to enable this feature. It should be off by default.

…ble the ability to display password fields with eyes

update `index.php` to pass the setting value to smarty
update `change.tpl` to display eyes and include the associated js file when the setting is enabled
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.

3 participants