]> 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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 3 Jan 2019 14:29:38 +0000 (14:29 +0000)
commit8b27475331dce6cdd01dd765b1eca0e42a51be5f
tree1d772d80457c3c3a990406436399240b1b9d38aa
parent66502804d2571c473a647cac2ab3e63fa62e1aa8
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>
(cherry picked from commit 085cfc6bca30718a6d719d645709097cf86f01db)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
opac/opac-passwd.pl