Skip to content

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