]> 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:49:20 +0000 (10:49 +0200)
commitbd2cb8582c228df3582c6d36049b14c07e086082
tree43a10464e8f3db02df1898167ca72caa986b01bd
parente6fbb9b5c1d5d548a8cf8956717e84c55e3e855f
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