[Koha-patches] [PATCH] Bug 5630 : MT4057: [Follow-up] Let the user choose the CAS server to authenticate against in case of multiple CAS servers
Chris Cormack
chrisc at catalyst.net.nz
Wed Mar 30 23:29:07 CEST 2011
From: Matthias Meusburger <matthias.meusburger at biblibre.com>
---
C4/Auth.pm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/C4/Auth.pm b/C4/Auth.pm
index 347012e..122737e 100644
--- a/C4/Auth.pm
+++ b/C4/Auth.pm
@@ -53,12 +53,12 @@ BEGIN {
$ldap = C4::Context->config('useldapserver') || 0;
$cas = C4::Context->preference('casAuthentication');
$caslogout = C4::Context->preference('casLogout');
+ require C4::Auth_with_cas; # no import
if ($ldap) {
require C4::Auth_with_ldap;
# no import import C4::Auth_with_ldap qw(checkpw_ldap);
}
if ($cas) {
- require C4::Auth_with_cas; # no import
import C4::Auth_with_cas qw(check_api_auth_cas checkpw_cas login_cas logout_cas login_cas_url);
}
--
1.7.1
More information about the Koha-patches
mailing list