Bugzilla – Attachment 153887 Details for
Bug 32739
REST API: Extend endpoint /auth/password/validation for cardnumber
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32739: (follow-up) QA Cleanup
Bug-32739-follow-up-QA-Cleanup.patch (text/plain), 997 bytes, created by
Martin Renvoize (ashimema)
on 2023-07-25 15:30:59 UTC
(
hide
)
Description:
Bug 32739: (follow-up) QA Cleanup
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2023-07-25 15:30:59 UTC
Size:
997 bytes
patch
obsolete
>From 82a86a24a03639c483fb551b02bfce647a1bfdf3 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Tue, 25 Jul 2023 16:28:27 +0100 >Subject: [PATCH] Bug 32739: (follow-up) QA Cleanup > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > Koha/REST/V1/Auth/Password.pm | 6 +----- > 1 file changed, 1 insertion(+), 5 deletions(-) > >diff --git a/Koha/REST/V1/Auth/Password.pm b/Koha/REST/V1/Auth/Password.pm >index d082435a94..d5ea5c726f 100644 >--- a/Koha/REST/V1/Auth/Password.pm >+++ b/Koha/REST/V1/Auth/Password.pm >@@ -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 $body = $c->req->json; > my $identifier = $body->{identifier}; > my $userid = $body->{userid}; > >-- >2.41.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 32739
:
153574
|
153575
|
153683
|
153684
|
153776
|
153777
|
153816
|
153817
|
153841
|
153842
|
153885
|
153886
| 153887