From c18cfc9f994b3271594147e04bbb520ce12a2abc Mon Sep 17 00:00:00 2001 From: Matthias Meusburger Date: Tue, 14 Sep 2010 16:31:49 +0200 Subject: [PATCH] Bug 5630 : MT4057: [Follow-up] Let the user choose the CAS server to authenticate against in case of multiple CAS servers --- 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