]> git.koha-community.org Git - koha.git/commit
Bug 16853: Move changepassword to Koha::Patron->update_password
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 4 Jul 2016 13:00:58 +0000 (14:00 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 15 Jul 2016 18:09:17 +0000 (18:09 +0000)
commitafc008b2fa8cf5b409407b4d46585800467b39d3
tree1d32a2467be8b0a268df07b178ae0d34de2b69fa
parente1e38896bb6a6cb5bcc9fd4b6fc129f143d7406a
Bug 16853: Move changepassword to Koha::Patron->update_password

This patch moves the code from C4::Members::changepassword to
Koha::Patron->update_password

Test plan:
Change your password at the OPAC and the staff interface
This should work as before

Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
I rebased this on top of 16849 because they were conflicting.
Tests pass, code looks good (as usual) and I checked both OPAC
and staff password change work as expected.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
C4/Auth_with_ldap.pm
C4/Members.pm
Koha/Patron.pm
members/member-password.pl
opac/opac-password-recovery.pl
t/db_dependent/Auth.t
t/db_dependent/Koha/Patrons.t