Koha-clms/members
Brendan Lawlor 2043237199 Bug 33832: Allow updating username without changing password on member-password.pl
This patch updates the change password page on the staff interface to
allow for changing the patron's username without changing the password.
If the new password is an empty string we can skip setting the patron's
password and sending the new password to the template.

Test plan:
1. From a patron record tool bar click 'Change password'
2. Notice that if you try to change the user's name without also
   changing the password the page just reloads and nothing happens
3. Apply patch and restart_all
4. From the patron record click 'Change password' again
5. Set the user's new username and  password eg. '1234Abc' and click
   'Save'
6. Confirm that you can log in to the OPAC with the user
7. Return to the patron record and click 'Change password' again
8. This time change just the 'New username field' and click 'Save'
6. Notice that the username is updated
7. Confirm you can log into the OPAC with the new username and the
   original password '1234Abcd'
8. Make sure that the change password form still validates passwords
   for length and matching errors etc

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit e26fc0a3d5)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 34e17b5aba)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
2024-05-23 13:53:27 +00:00
..
accountline-details.pl
…
apikeys.pl
…
boraccount.pl Bug 34731: Don't call SendQueuedMessages if message_id is bad 2023-09-14 07:54:48 -10:00
cancel-charge.pl
…
default_messageprefs.pl
…
deletemem.pl
…
discharge.pl
…
discharges.pl
…
files.pl
…
holdshistory.pl
…
housebound.pl Bug 30718: Use flatpickr's altInput 2022-08-19 08:26:31 -03:00
ill-requests.pl
…
mancredit.pl Bug 29987: (follow-up) Fix missing payment type 2022-10-21 10:18:53 -03:00
maninvoice.pl Bug 31254: Add additional fields for accountlines 2022-09-21 18:58:28 -03:00
member-flags.pl
…
member-password.pl Bug 33832: Allow updating username without changing password on member-password.pl 2024-05-23 13:53:27 +00:00
member.pl Bug 35127: Fix 'Search type' for patron search 2023-10-25 21:49:52 -10:00
memberentry.pl Bug 36170: Wrong error variable in memberentry 2024-03-19 19:48:03 +00:00
members-home.pl
…
members-update-do.pl Bug 31893: Use checkauth and do not fetch about.tt template 2023-01-20 13:56:30 +00:00
members-update.pl
…
merge-patrons.pl
…
mod_debarment.pl Bug 23681: Allow for selection of restriction type 2022-08-25 08:41:01 -03:00
moremember.pl Bug 34910: (follow-up) alert in patron details 2023-11-07 21:09:50 -10:00
notices.pl Bug 30287: Conditionally render notice preview 2024-01-04 20:34:51 +00:00
patronimage.pl
…
pay.pl Bug 34870: Perform UTF8 encoding before redirection 2023-10-05 14:35:21 -10:00
paycollect.pl Bug 31254: Add additional fields for accountlines 2022-09-21 18:58:28 -03:00
print_overdues.pl
…
printfeercpt.pl Bug 26689: Prepend letter codes. 2022-07-22 15:01:36 -03:00
printinvoice.pl Bug 26689: Prepend letter codes. 2022-07-22 15:01:36 -03:00
printnotice.pl Bug 31714: Add Generic way to print patron slips 2022-10-21 10:09:03 -03:00
printslip.pl Bug 33010: Do not filter checkins with logged in patrons branch in printslip.pl 2023-05-18 11:35:11 -03:00
purchase-suggestions.pl Bug 35911: Make archived suggestions not show in patron's account 2024-03-19 21:02:57 +00:00
readingrec.pl Bug 23838: Add renewals modal 2022-07-22 11:39:09 -03:00
recallshistory.pl
…
routing-lists.pl
…
search.pl
…
setstatus.pl
…
statistics.pl
…
summary-print.pl
…
two_factor_auth.pl Bug 30588: (QA follow-up) Adjust flags for two_factor_auth.pl 2022-10-21 11:37:01 -03:00
update-child.pl
…