From 3fed8ff6b225ab133d6806c0c8e25902c4c5cbca 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 --- C4/Auth.pm | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/C4/Auth.pm b/C4/Auth.pm index 16e908a..b03fb36 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); -- 1.7.4.1