Bug 39135 - adding a OpacPasswordLabelTextContent system preference
Summary: adding a OpacPasswordLabelTextContent system preference
Status: Needs Signoff
Alias: None
Product: Koha
Classification: Unclassified
Component: Authentication (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-13 14:07 UTC by Imani
Modified: 2025-02-13 17:05 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments
Bug 39135: adding a OpacPasswordLabelTextContent system preference (2.23 KB, patch)
2025-02-13 16:51 UTC, Imani
Details | Diff | Splinter Review
Bug 39135: adding a OpacPasswordLabelTextContent system preference (10.88 KB, patch)
2025-02-13 17:05 UTC, Imani
Details | Diff | Splinter Review

Note You need to log in before you can comment on or make changes to this bug.
Description Imani 2025-02-13 14:07:56 UTC
A Partner wants the password field to be able to say Password/Pin instead of just Password so I believe adding a system preference similar to the one for the login label would accommodate them without impacting other users.

html_helpers.inc is where the login label one is currently located.
Comment 1 Imani 2025-02-13 16:51:53 UTC
Created attachment 178040 [details] [review]
Bug 39135: adding a OpacPasswordLabelTextContent system preference

fixing order of systemPrefs in sysprefs.sql
Comment 2 Imani 2025-02-13 17:05:03 UTC
Created attachment 178041 [details] [review]
Bug 39135:  adding a OpacPasswordLabelTextContent system preference

add a new system preference for password labels

to test:
1. apply the patch
2. log into admin and go to the opac system preferences and change the OpacPasswordLabelTextContent system preference to Password/PIN
3. go to the public url and open the login and see the password field now says Password/PIN instead
4. Change the preference again and save and see your changes reflected
Comment 3 Imani 2025-02-13 17:05:48 UTC
(In reply to Imani from comment #1)
> Created attachment 178040 [details] [review] [review]
> Bug 39135: adding a OpacPasswordLabelTextContent system preference
> 
> fixing order of systemPrefs in sysprefs.sql

Please disregard this first patch, accidentally only included part of the changes.