View | Details | Raw Unified | Return to bug 28417
Collapse All | Expand All

(-)a/C4/Auth.pm (+2 lines)
Lines 23-28 use Carp qw( croak ); Link Here
23
23
24
use Digest::MD5 qw( md5_base64 );
24
use Digest::MD5 qw( md5_base64 );
25
use CGI::Session;
25
use CGI::Session;
26
use URI;
27
use URI::QueryParam;
26
28
27
use C4::Context;
29
use C4::Context;
28
use C4::Templates;    # to get the template
30
use C4::Templates;    # to get the template
(-)a/C4/Auth_with_cas.pm (+1 lines)
Lines 25-30 use Koha::AuthUtils qw( get_script_name ); Link Here
25
use Authen::CAS::Client;
25
use Authen::CAS::Client;
26
use CGI qw ( -utf8 );
26
use CGI qw ( -utf8 );
27
use YAML::XS;
27
use YAML::XS;
28
use URI::Escape;
28
29
29
use Koha::Logger;
30
use Koha::Logger;
30
31
(-)a/opac/opac-user.pl (-3 / +4 lines)
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
- 

Return to bug 28417