]> 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>
Tue, 25 Oct 2011 23:59:25 +0000 (19:59 -0400)
commitbb3fae14950ef013bb55c4d2d1b12558b12ade0a
tree9a63b82778c1efe778aea8867376ecd6833c4b7e
parent07ce7d8d3b3d3144ce088729e2b402cc6eaeeba5
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