Lines 58-69
BEGIN {
Link Here
|
58 |
$shib = C4::Context->config('useshibboleth') || 0; |
58 |
$shib = C4::Context->config('useshibboleth') || 0; |
59 |
$caslogout = C4::Context->preference('casLogout'); |
59 |
$caslogout = C4::Context->preference('casLogout'); |
60 |
require C4::Auth_with_cas; # no import |
60 |
require C4::Auth_with_cas; # no import |
61 |
require C4::Auth_with_shibboleth; |
|
|
62 |
if ($ldap) { |
61 |
if ($ldap) { |
63 |
require C4::Auth_with_ldap; |
62 |
require C4::Auth_with_ldap; |
64 |
import C4::Auth_with_ldap qw(checkpw_ldap); |
63 |
import C4::Auth_with_ldap qw(checkpw_ldap); |
65 |
} |
64 |
} |
66 |
if ($shib) { |
65 |
if ($shib) { |
|
|
66 |
require C4::Auth_with_shibboleth; |
67 |
import C4::Auth_with_shibboleth |
67 |
import C4::Auth_with_shibboleth |
68 |
qw(shib_ok checkpw_shib logout_shib login_shib_url get_login_shib); |
68 |
qw(shib_ok checkpw_shib logout_shib login_shib_url get_login_shib); |
69 |
|
69 |
|