Bug 19160: (follow-up) Fix problems introduced by renaming logout_required to logout_if_required
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>
This commit is contained in:
parent
9c0be579fe
commit
84ca0487a0
|
|
@ -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);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue