https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=33832

ByWater Sandboxes <bws.sandbo...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #164507|0                           |1
        is obsolete|                            |

--- Comment #6 from ByWater Sandboxes <bws.sandbo...@gmail.com> ---
Created attachment 164522
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=164522&action=edit
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: Esther <est...@bywatersolutions.com>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to