Koha-clms/Koha/REST/V1
Tomas Cohen Arazi f51aac39e0 Bug 34313: Add patron information in pass validation response
This patch makes the password validation response return the following
patron attributes to the API consumer:

* cardnumber
* userid

This will give hints on what was used to validate in the fallback
bahvior the endpoint has.

To test:
1. Apply the unit tests patch
2. Run:
   $ ktd --shell
  k$ prove t/db_dependent/api/v1/password_validation.t
=> FAIL: The endpoint doesn't return this valuable data
3. Apply this patch
4. Repeat 2
=> SUCESS: Tests pass! We got the cardnumber and the userid!
5. Sign off :-D

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 749783debf)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 06f09de19e)
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
2023-08-31 10:49:57 +00:00
..
Acquisitions Bug 33974: (follow-up) Adapt the orders endpoint 2023-07-18 14:45:00 +00:00
Auth Bug 34313: Add patron information in pass validation response 2023-08-31 10:49:57 +00:00
Biblios Bug 33053: Handle invalid biblio_id more robustly 2023-05-12 16:31:52 +01:00
CashRegisters Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
Clubs Bug 30718: Use flatpickr's altInput 2022-08-19 08:26:31 -03:00
Config/SMTP Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
ERM Bug 33482: Propagate errors from EBSCO's ws to the UI 2023-05-11 12:12:23 +01:00
OAuth Bug 33675: Add CSRF protection to OAuth/OIDC authentication 2023-06-08 16:58:14 +00:00
Patrons Bug 33573: Add public endpoint for cancelling holds 2023-07-18 14:44:56 +00:00
AdvancedEditorMacro.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
ArticleRequests.pm Bug 27947: (QA follow-up) Make parameters a hashref 2021-10-06 10:09:54 +02:00
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 Bug 30275: Add `/api/v1/checkouts/{checkout_id}/renewals` 2022-07-05 09:46:04 -03:00
CirculationRules.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
Cities.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
ERM.pm Bug 32030: ERM - Users 2022-11-08 09:43:36 -03:00
Holds.pm Bug 34024: (QA follow-up) Allow pickup location changing for in transit holds 2023-08-28 10:21:17 +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 Bug 30855: Rename /import => /import_batches 2022-06-02 13:42:28 -03:00
Items.pm Bug 33817: (QA follow-up) Fix tidyness 2023-07-18 15:20:53 +00:00
Libraries.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
OAuth.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
Patrons.pm Bug 22993: Handle default messaging preferences during patron creation from API 2022-03-08 23:03:34 -10:00
Quotes.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
ReturnClaims.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
SearchFilter.pm Bug 17170: (QA follow-up) Spec cleanup 2022-10-21 11:15:22 -03:00
Stage.pm
…
Static.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
Suggestions.pm Bug 32030: rename filter_by_have_subpermission with filter_by_have_permission 2022-11-08 09:43:35 -03:00
TransferLimits.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
TwoFactorAuth.pm Bug 33904: Fix 2FA registration when library name has non-latin characters 2023-07-12 08:51:24 +00:00