From 52098e0dc1371eb4657cc7b934d01a7ca21c2f99 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 4 Apr 2024 10:23:18 +0200 Subject: [PATCH] Bug 36349: Remove passing CGI params from sco/printslip.pl Signed-off-by: David Cook Signed-off-by: Katrin Fischer --- opac/sco/printslip.pl | 8 -------- 1 file changed, 8 deletions(-) diff --git a/opac/sco/printslip.pl b/opac/sco/printslip.pl index adac4dff2f..cc24c0d9d6 100755 --- a/opac/sco/printslip.pl +++ b/opac/sco/printslip.pl @@ -47,14 +47,6 @@ unless ( in_iprange(C4::Context->preference('SelfCheckAllowByIPRanges')) ) { exit; } -if (C4::Context->preference('AutoSelfCheckAllowed')) -{ - my $AutoSelfCheckID = C4::Context->preference('AutoSelfCheckID'); - my $AutoSelfCheckPass = C4::Context->preference('AutoSelfCheckPass'); - $input->param(-name=>'userid',-values=>[$AutoSelfCheckID]); - $input->param(-name=>'password',-values=>[$AutoSelfCheckPass]); - $input->param(-name=>'koha_login_context',-values=>['sco']); -} $input->param(-name=>'sco_user_login',-values=>[1]); # patrons still need to be able to print receipts -- 2.39.5