Lines 57-64
my $query = CGI->new;
Link Here
|
57 |
|
57 |
|
58 |
# CAS single logout handling |
58 |
# CAS single logout handling |
59 |
# Will print header and exit |
59 |
# Will print header and exit |
60 |
require C4::Auth_with_cas; |
60 |
if ( C4::Context->preference('casAuthentication') ) { |
61 |
C4::Context->preference('casAuthentication') and C4::Auth_with_cas::logout_if_required($query); |
61 |
require C4::Auth_with_cas; |
|
|
62 |
C4::Auth_with_cas::logout_if_required($query); |
63 |
} |
62 |
|
64 |
|
63 |
my ( $template, $borrowernumber, $cookie ) = get_template_and_user( |
65 |
my ( $template, $borrowernumber, $cookie ) = get_template_and_user( |
64 |
{ |
66 |
{ |
65 |
- |
|
|