Bug 24949 - Provide password visibility toggle / icon to unmask password on staff login screen
Summary: Provide password visibility toggle / icon to unmask password on staff login s...
Status: Signed Off
Alias: None
Product: Koha
Classification: Unclassified
Component: Staff interface (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Owen Leonard
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-23 08:18 UTC by Katrin Fischer
Modified: 2025-07-17 06:57 UTC (History)
3 users (show)

See Also:
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 (5.13 KB, patch)
2025-07-16 11:27 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 24949: Provide password visibility toggle / icon to unmask password on staff login screen (6.33 KB, patch)
2025-07-16 11:27 UTC, Owen Leonard
Details | Diff | Splinter Review
Bug 24949: Stylelint corrections for login.css (5.18 KB, patch)
2025-07-16 18:17 UTC, Roman Dolny
Details | Diff | Splinter Review
Bug 24949: Provide password visibility toggle / icon to unmask password on staff login screen (6.38 KB, patch)
2025-07-16 18:17 UTC, Roman Dolny
Details | Diff | Splinter Review
Bug 24949: Provide password visibility toggle / icon to unmask password on staff login screen (6.43 KB, patch)
2025-07-17 06:57 UTC, Biblibre Sandboxes
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
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>