From adb6d020ac0b591da7d6e3b8e1e380c4dde0081c Mon Sep 17 00:00:00 2001 From: Ian Walls Date: Tue, 30 Aug 2011 10:41:10 -0400 Subject: [PATCH] Bug 5630 Followup: checkpw_ldap not imported If LDAP authentication is used, Koha barks that C4::Auth::checkpw_ldap is undefined, which is true. checkpw_ldap needs to be imported from C4::Auth_with_ldap, like it was before the bug fix for 5630 Signed-off-by: Chris Cormack (cherry picked from commit 74c7c4e3a5d6a3ec20b525936c5ffe2f9b188744) Signed-off-by: Chris Nighswonger --- C4/Auth.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/C4/Auth.pm b/C4/Auth.pm index d8e4786dfb..bd30121c1f 100644 --- a/C4/Auth.pm +++ b/C4/Auth.pm @@ -56,7 +56,7 @@ BEGIN { require C4::Auth_with_cas; # no import if ($ldap) { require C4::Auth_with_ldap; - # no import import C4::Auth_with_ldap qw(checkpw_ldap); + import C4::Auth_with_ldap qw(checkpw_ldap); } if ($cas) { import C4::Auth_with_cas qw(check_api_auth_cas checkpw_cas login_cas logout_cas login_cas_url); -- 2.39.5