Koha-clms/Koha/REST/V1
David Cook f95d43984c Bug 34893: Add checkpw change to REST API
This patch adds the checkpw return value change to the REST API
route for validating user identifiers and password.

Test plan:
0. Apply patch
1. prove t/db_dependent/api/v1/password_validation.t

Bonus points:
1. koha-plack --reload kohadev
2. Enable syspref RESTBasicAuth
3. curl -XPOST -H "Content-Type: application/json" \
-u <staff_userid>:<staff_password> \
-d '{"identifier":"<cardnumber>","password":"<password>"}' \
http://localhost:8081/api/v1/auth/password/validation
4. Validation doesn't fail. It gives you cardnumber, patron_id, userid

Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit fc1ea85ed024a9789827a1c17376bfc18f19cef0)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 1cb97e995b8386c6f0684c11713ff1ecad12db62)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
2024-01-26 09:56:38 +01:00
..
Acquisitions Bug 33974: (follow-up) Adapt the orders endpoint 2023-07-18 14:45:00 +00:00
Auth Bug 34893: Add checkpw change to REST API 2024-01-26 09:56:38 +01:00
Biblios Bug 33053: Handle invalid biblio_id more robustly 2023-05-12 16:31:52 +01:00
CashRegisters
…
Clubs Bug 30718: Use flatpickr's altInput 2022-08-19 08:26:31 -03:00
Config/SMTP
…
ERM Bug 33482: Propagate errors from EBSCO's ws to the UI 2023-05-11 12:12:23 +01:00
OAuth Bug 34271: Remove a few Logger statements from REST API 2023-11-13 14:02:59 +00:00
Patrons Bug 33573: Add public endpoint for cancelling holds 2023-07-18 14:44:56 +00:00
AdvancedEditorMacro.pm
…
ArticleRequests.pm
…
Auth.pm Bug 33708: Allow anonymous access to OAuth endpoints 2023-06-08 16:51:21 +00:00
AuthorisedValueCategories.pm Bug 32997: Add REST API endpoint to list authorised values for multiple given categories 2023-03-03 12:10:59 +00:00
AuthorisedValues.pm Bug 32997: (QA follow-up) values => authorised_values 2023-03-03 12:11:41 +00:00
BackgroundJobs.pm Bug 30982: (QA follow-up) Spelling 2022-09-23 08:57:50 -03:00
Biblios.pm Bug 33974: (QA follow-up) Remove superflous import 2023-07-18 14:44:58 +00:00
Checkouts.pm
…
CirculationRules.pm
…
Cities.pm
…
ERM.pm Bug 33606: (QA follow-up) Cosmetic changes 2023-11-13 15:10:57 +00:00
Holds.pm Bug 35053: Make sure request is checked as an item-level request if item_id passed 2023-11-13 14:03:04 +00:00
Illbackends.pm Bug 22440: Move backend statuses api endpoint 2023-05-12 08:16:30 +01:00
Illrequests.pm Bug 22440: Add Koha::Illrequests->filter_by_visible 2023-05-12 08:16:28 +01:00
ImportBatchProfiles.pm Bug 33854: Fix typo in ImportBatchProfiles controller 2023-06-08 17:22:31 +00:00
ImportRecordMatches.pm
…
Items.pm Bug 33817: (QA follow-up) Fix tidyness 2023-07-18 15:20:53 +00:00
Libraries.pm
…
OAuth.pm
…
Patrons.pm
…
Quotes.pm
…
ReturnClaims.pm
…
SearchFilter.pm Bug 17170: (QA follow-up) Spec cleanup 2022-10-21 11:15:22 -03:00
Stage.pm
…
Static.pm
…
Suggestions.pm Bug 32942: (QA follow-up) Moving Suggestion->STATUS check to Suggestion::store 2023-10-12 16:00:23 +00:00
TransferLimits.pm
…
TwoFactorAuth.pm Bug 30843: Add mfa_range configuration option for TOTP 2023-10-17 16:56:21 +00:00