Bug 37762: (RM follow-up) Update auth check for new Koha::Controller::Catalogue
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
parent
3075f176e0
commit
580137e64c
|
|
@ -33,7 +33,10 @@ FILE: foreach my $file (@files) {
|
|||
chomp $file;
|
||||
my @lines = read_file($file);
|
||||
for my $line (@lines) {
|
||||
for my $routine (qw( get_template_and_user check_cookie_auth checkauth check_api_auth C4::Service->init )) {
|
||||
for my $routine (
|
||||
qw( get_template_and_user check_cookie_auth checkauth check_api_auth C4::Service->init Koha::Controller::Catalogue->init )
|
||||
)
|
||||
{
|
||||
next FILE if $line =~ m|^[^#]*$routine|;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue