Bug 19160: (follow-up) Fix problems introduced by renaming logout_required to logout_...
authorUlrich Kleiber <ulrich.kleiber@bsz-bw.de>
Wed, 7 Feb 2018 09:06:20 +0000 (10:06 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 23 Mar 2018 14:45:37 +0000 (11:45 -0300)
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

C4/Auth.pm
C4/Auth_with_cas.pm
opac/opac-user.pl

index 876fec5..e81134a 100644 (file)
@@ -86,7 +86,7 @@ BEGIN {
         }
     }
     if ($cas) {
-        import C4::Auth_with_cas qw(check_api_auth_cas checkpw_cas login_cas logout_cas login_cas_url logout_required);
+        import C4::Auth_with_cas qw(check_api_auth_cas checkpw_cas login_cas logout_cas login_cas_url logout_if_required);
     }
 
 }
index 08ff75f..08012da 100644 (file)
@@ -35,7 +35,7 @@ BEGIN {
        require Exporter;
        $debug = $ENV{DEBUG};
        @ISA    = qw(Exporter);
-       @EXPORT = qw(check_api_auth_cas checkpw_cas login_cas logout_cas login_cas_url);
+       @EXPORT = qw(check_api_auth_cas checkpw_cas login_cas logout_cas login_cas_url logout_if_required);
 }
 my $defaultcasserver;
 my $casservers;
index 317ba6a..bdd002d 100755 (executable)
@@ -64,7 +64,7 @@ BEGIN {
 
 # CAS single logout handling
 # Will print header and exit
-C4::Context->preference('casAuthentication') and C4::Auth_with_ldap::logout_if_required($query);
+C4::Context->preference('casAuthentication') and C4::Auth_with_cas::logout_if_required($query);
 
 my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
     {