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
…
ill-requests.pl
…
mancredit.pl
…
maninvoice.pl
…
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
…
members-update.pl
…
merge-patrons.pl
…
mod_debarment.pl
…
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
…
print_overdues.pl
…
printfeercpt.pl
…
printinvoice.pl
…
printnotice.pl
…
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
…
recallshistory.pl
…
routing-lists.pl
…
search.pl
…
setstatus.pl
…
statistics.pl
…
summary-print.pl
…
two_factor_auth.pl
…
update-child.pl
…