]> git.koha-community.org Git - koha.git/commit
Bug 36575: Adjust checkpw_internal to return patron
authorNick Clemens <nick@bywatersolutions.com>
Wed, 24 Apr 2024 15:06:22 +0000 (15:06 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 6 Jun 2024 08:59:48 +0000 (10:59 +0200)
commit03aa43331d604d33e64f87360e6efd9864a75033
tree8816ff0064e05d83d5ad6c9ad479587aa6ea8b0b
parent2ac2df6baf97f84f813828d5eb978c20740ca425
Bug 36575: Adjust checkpw_internal to return patron

This patch refactors checkpw_internal to remove the SQL code, use patron ojbects, and return the
patron that correctly matches the userid/caerdnumber when auth is successful

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
(cherry picked from commit fe78f06a50c41a7dbac24206e31bc5b1189ee185)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Auth.pm