Bug 32739: (follow-up) QA Cleanup
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
69653a281d
commit
3c90dbcb82
|
|
@ -40,12 +40,8 @@ Controller method that checks a patron's password
|
|||
|
||||
sub validate {
|
||||
my $c = shift->openapi->valid_input or return;
|
||||
|
||||
my $body = $c->req->json;
|
||||
my $userid = $body->{userid} // '';
|
||||
my $patron = Koha::Patrons->find({ userid => $userid });
|
||||
|
||||
my $body = $c->req->json;
|
||||
|
||||
my $identifier = $body->{identifier};
|
||||
my $userid = $body->{userid};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue