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 <chrisc@catalyst.net.nz>
This commit is contained in:
Ian Walls 2011-08-30 10:41:10 -04:00 committed by Chris Cormack
parent 046c996c2f
commit 74c7c4e3a5

View file

@ -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);