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 |
- |
|
|