]> 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 Nighswonger <chris.nighswonger@gmail.com>
Wed, 19 Oct 2011 20:02:36 +0000 (16:02 -0400)
commit39a060940877b61b05d2d5aef37c8fd76bf30382
treec58a020291c050ee723164692f79f4e626a2c5b0
parent92913143c895af00d0fed09b3b1e3e3d284ff3ca
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.
(cherry picked from commit dcb4ac77fbfd813cc0eb39e060b49a7b8d491016)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
C4/Auth.pm
C4/Auth_with_ldap.pm