Lines 47-60
unless ( in_iprange(C4::Context->preference('SelfCheckAllowByIPRanges')) ) {
Link Here
|
47 |
exit; |
47 |
exit; |
48 |
} |
48 |
} |
49 |
|
49 |
|
50 |
if (C4::Context->preference('AutoSelfCheckAllowed')) |
|
|
51 |
{ |
52 |
my $AutoSelfCheckID = C4::Context->preference('AutoSelfCheckID'); |
53 |
my $AutoSelfCheckPass = C4::Context->preference('AutoSelfCheckPass'); |
54 |
$input->param(-name=>'userid',-values=>[$AutoSelfCheckID]); |
55 |
$input->param(-name=>'password',-values=>[$AutoSelfCheckPass]); |
56 |
$input->param(-name=>'koha_login_context',-values=>['sco']); |
57 |
} |
58 |
$input->param(-name=>'sco_user_login',-values=>[1]); |
50 |
$input->param(-name=>'sco_user_login',-values=>[1]); |
59 |
|
51 |
|
60 |
# patrons still need to be able to print receipts |
52 |
# patrons still need to be able to print receipts |
61 |
- |
|
|