View | Details | Raw Unified | Return to bug 30199
Collapse All | Expand All

(-)a/opac/sco/sco-main.pl (-1 / +6 lines)
Lines 116-121 my $issuenoconfirm = 1; #don't need to confirm on issue. Link Here
116
my $issuer   = Koha::Patrons->find( $issuerid )->unblessed;
116
my $issuer   = Koha::Patrons->find( $issuerid )->unblessed;
117
117
118
my $patronid = $jwt ? Koha::Token->new->decode_jwt({ token => $jwt }) : undef;
118
my $patronid = $jwt ? Koha::Token->new->decode_jwt({ token => $jwt }) : undef;
119
120
# A new patronid has been submitted for login
121
if ( $patronid ne $query->param('patronid') ) {
122
    $patronid = undef;
123
}
124
119
unless ( $patronid ) {
125
unless ( $patronid ) {
120
    if ( C4::Context->preference('SelfCheckoutByLogin') ) {
126
    if ( C4::Context->preference('SelfCheckoutByLogin') ) {
121
        my $dbh = C4::Context->dbh;
127
        my $dbh = C4::Context->dbh;
122
- 

Return to bug 30199