diff --git a/acqui/check_uniqueness.pl b/acqui/check_uniqueness.pl index 791814095f..aece6aac55 100755 --- a/acqui/check_uniqueness.pl +++ b/acqui/check_uniqueness.pl @@ -35,6 +35,7 @@ use CGI qw ( -utf8 ); use JSON qw( to_json ); use C4::Output qw( output_with_http_headers ); use C4::Items qw( SearchItems ); +use C4::Auth qw( check_cookie_auth ); my $input = CGI->new; my ($auth_status) = diff --git a/catalogue/image.pl b/catalogue/image.pl index efdcae4937..af950a6534 100755 --- a/catalogue/image.pl +++ b/catalogue/image.pl @@ -27,6 +27,7 @@ use Modern::Perl; use CGI qw ( -utf8 ); use C4::Context; +use C4::Auth qw( check_cookie_auth ); use Koha::Biblios; use Koha::CoverImages; diff --git a/labels/label-create-csv.pl b/labels/label-create-csv.pl index 80c662e85a..a6c6f943ee 100755 --- a/labels/label-create-csv.pl +++ b/labels/label-create-csv.pl @@ -24,6 +24,7 @@ use CGI qw ( -utf8 ); use Text::CSV_XS; use C4::Labels; +use C4::Auth qw( check_cookie_auth ); my $cgi = CGI->new; my ($auth_status) = diff --git a/labels/label-create-xml.pl b/labels/label-create-xml.pl index a3bec34ec0..7d1e38e1b3 100755 --- a/labels/label-create-xml.pl +++ b/labels/label-create-xml.pl @@ -24,6 +24,7 @@ use CGI qw ( -utf8 ); use XML::Simple; use C4::Labels; +use C4::Auth qw( check_cookie_auth ); my $cgi = CGI->new; my ($auth_status) = diff --git a/serials/lateissues-export.pl b/serials/lateissues-export.pl index f82b9f1e18..dff0e5a7ac 100755 --- a/serials/lateissues-export.pl +++ b/serials/lateissues-export.pl @@ -21,6 +21,7 @@ use C4::Auth; use C4::Serials qw( GetLateOrMissingIssues updateClaim ); use C4::Output; use C4::Context; +use C4::Auth qw( check_cookie_auth ); use Koha::CsvProfiles;