Bug 24949

Summary: Provide password visibility toggle / icon to unmask password on staff login screen
Product: Koha Reporter: Katrin Fischer <katrin.fischer>
Component: Staff interfaceAssignee: Owen Leonard <oleonard>
Status: Signed Off --- QA Contact: Testopia <testopia>
Severity: enhancement    
Priority: P5 - low CC: dcook, gmcharlt, lauri.hanninen
Version: Main   
Hardware: All   
OS: All   
See Also: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34778
GIT URL: Change sponsored?: ---
Patch complexity: Small patch Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:
Attachments: Bug 24949: Stylelint corrections for login.css
Bug 24949: Provide password visibility toggle / icon to unmask password on staff login screen
Bug 24949: Stylelint corrections for login.css
Bug 24949: Provide password visibility toggle / icon to unmask password on staff login screen
Bug 24949: Provide password visibility toggle / icon to unmask password on staff login screen

Description Katrin Fischer 2020-03-23 08:18:35 UTC
A lot of applications allow you to see the password you typed in on demand, often requiring you to click on an "eye" symbol or similar. 

This would also be helpful for the staff interface to help people check for typos when trying to log into Koha.
Comment 1 Erica Rohlfs 2021-10-21 20:18:55 UTC
*** Bug 29247 has been marked as a duplicate of this bug. ***
Comment 2 David Cook 2024-10-22 03:20:18 UTC
I've implemented this for the OPAC (at the request of one of my libraries) at bug 34778

Happy for someone to adapt it here as well.
Comment 3 Lauri Hänninen 2025-06-10 13:31:58 UTC
This feature would indeed be a welcome addition to the staff login (requested by staff).
Comment 4 Owen Leonard 2025-07-16 11:27:54 UTC Comment hidden (obsolete)
Comment 5 Owen Leonard 2025-07-16 11:27:56 UTC Comment hidden (obsolete)
Comment 6 Roman Dolny 2025-07-16 18:17:44 UTC
Created attachment 184167 [details] [review]
Bug 24949: Stylelint corrections for login.css

This patch includes automated stylelint corrections for login.css. It
should have no visible effect.

To test, apply the patch and clear your browser cache. View the staff
interface login form and confirm that everything looks correct.

Sponsored-by: Athens County Public Libraries
Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl>
Comment 7 Roman Dolny 2025-07-16 18:17:46 UTC
Created attachment 184168 [details] [review]
Bug 24949: Provide password visibility toggle / icon to unmask password on staff login screen

This patch adapts the work on Bug 34778 to the staff client, adding a
"Show password" checkbox to the login form.

To test, apply the batch and go to the staff client login screen.

- You should see a "Show password" checkbox under the password field.
- Type something in the password field. It should be masked (****).
- Click the "Show password" label or check the checkbox.
- The password field should now show the text you entered.
- Confirm that you can log in successfully whether or not the password
  is visible.
- `prove t/db_dependent/selenium/authentication.t` should pass.

Sponsored-by: Athens County Public Libraries
Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl>
Comment 8 Biblibre Sandboxes 2025-07-17 06:57:18 UTC
Created attachment 184181 [details] [review]
Bug 24949: Provide password visibility toggle / icon to unmask password on staff login screen

This patch adapts the work on Bug 34778 to the staff client, adding a
"Show password" checkbox to the login form.

To test, apply the batch and go to the staff client login screen.

- You should see a "Show password" checkbox under the password field.
- Type something in the password field. It should be masked (****).
- Click the "Show password" label or check the checkbox.
- The password field should now show the text you entered.
- Confirm that you can log in successfully whether or not the password
  is visible.
- `prove t/db_dependent/selenium/authentication.t` should pass.

Sponsored-by: Athens County Public Libraries
Signed-off-by: Roman Dolny <roman.dolny@jezuici.pl>
Signed-off-by: Mikko <mikko.liimatainen@turku.fi>