]> git.koha-community.org Git - koha.git/commit
Bug 21547: Use set_password in opac-passwd and remove sub goodkey
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Thu, 11 Oct 2018 10:00:31 +0000 (12:00 +0200)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 26 Dec 2018 20:47:09 +0000 (20:47 +0000)
commit085cfc6bca30718a6d719d645709097cf86f01db
treea4a0941d604664ad8345fee2f8e3ac006e32473e
parent66f1605c59763613a4e955fd259a845e4fc06324
Bug 21547: Use set_password in opac-passwd and remove sub goodkey

Remove sql statement to change password by calling set_password.
Remove sub goodkey by calling C4::Auth::checkpw_hash.
Adding the scalar before param Oldkey (from bug 21036).

Rebased on top of 21178 (using set_password instead of update_password).

Test plan:
Try to change password in OPAC with good and bad pw.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
opac/opac-passwd.pl