]> git.koha-community.org Git - koha.git/commit
Bug 5995 Followup: checkpw was returning inconsistent values
authorIan Walls <ian.walls@bywatersolutions.com>
Fri, 14 Oct 2011 20:37:54 +0000 (16:37 -0400)
committerChris Cormack <chrisc@catalyst.net.nz>
Fri, 14 Oct 2011 23:58:10 +0000 (12:58 +1300)
commitdcb4ac77fbfd813cc0eb39e060b49a7b8d491016
treee074b5a0150858d790dc3705238507ad26910dfd
parent417c9084b4c5a3637ffc2a29d4f3db929285fead
Bug 5995 Followup: checkpw was returning inconsistent values

In the case of LDAP, checkpw was returning the cardnumber of there user, but it was being treated as the
userid.  This patch updates checkpw_ldap to return the cardnumber AND the userid, and updates checkpw to
uniformly return cardnumber and userid in all instances, so that whoever is authenticating can use the
desired value in the right way.
C4/Auth.pm
C4/Auth_with_ldap.pm