]> 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)
committerFrédéric Demians <f.demians@tamil.fr>
Wed, 29 May 2024 07:17:10 +0000 (07:17 +0000)
commit551804b41ba76e986a15e60bd95d0f0d33284691
tree3e33593c685ff06f78bf4a89532d37b33a463fbf
parent58fd25c5bb4086d05ec3ce6b66951b3c11c73b82
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: Frédéric Demians <f.demians@tamil.fr>
C4/Auth.pm