Koha-clms/Koha/REST/V1
Tomas Cohen Arazi 749783debf
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>
2023-08-29 14:59:02 -03:00
..
Acquisitions Bug 33556: Avoid relying on $c->validation 2023-07-21 17:14:37 -03:00
Auth Bug 34313: Add patron information in pass validation response 2023-08-29 14:59:02 -03:00
Biblios Bug 33556: Avoid relying on $c->validation 2023-07-21 17:14:37 -03:00
CashRegisters Bug 33556: Avoid relying on $c->validation 2023-07-21 17:14:37 -03:00
Clubs Bug 33556: Avoid relying on $c->validation 2023-07-21 17:14:37 -03:00
Config/SMTP Bug 33556: Avoid relying on $c->validation 2023-07-21 17:14:37 -03:00
ERM Bug 33482: Propagate errors from EBSCO's ws to the UI 2023-05-05 09:13:18 -03:00
OAuth Bug 33675: Add CSRF protection to OAuth/OIDC authentication 2023-05-19 09:20:54 -03:00
Patrons Bug 33556: Avoid relying on $c->validation 2023-07-21 17:14:37 -03:00
AdvancedEditorMacro.pm Bug 33556: Avoid relying on $c->validation 2023-07-21 17:14:37 -03:00
ArticleRequests.pm Bug 33556: Avoid relying on $c->validation 2023-07-21 17:14:37 -03:00
Auth.pm Bug 33708: Allow anonymous access to OAuth endpoints 2023-05-18 11:35:16 -03:00
AuthorisedValueCategories.pm Bug 32997: Add REST API endpoint to list authorised values for multiple given categories 2023-03-02 12:00:15 -03:00
AuthorisedValues.pm Bug 33556: Avoid relying on $c->validation 2023-07-21 17:14:37 -03:00
Authorities.pm Bug 33556: Avoid relying on $c->validation 2023-07-21 17:14:37 -03:00
BackgroundJobs.pm Bug 33556: Avoid relying on $c->validation 2023-07-21 17:14:37 -03:00
Biblios.pm Bug 33556: Avoid relying on $c->validation 2023-07-21 17:14:37 -03:00
Checkouts.pm Bug 33556: Avoid relying on $c->validation 2023-07-21 17:14:37 -03:00
CirculationRules.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
Cities.pm Bug 33556: Avoid relying on $c->validation 2023-07-21 17:14:37 -03:00
ERM.pm Bug 33606: (QA follow-up) Cosmetic changes 2023-07-06 12:24:15 -03:00
Holds.pm Bug 34024: (QA follow-up) Allow pickup location changing for in transit holds 2023-08-18 10:29:25 +03:00
Illbackends.pm Bug 33556: Avoid relying on $c->validation 2023-07-21 17:14:37 -03:00
Illrequests.pm Bug 22440: Add Koha::Illrequests->filter_by_visible 2023-05-05 09:13:40 -03:00
ImportBatchProfiles.pm Bug 33556: Avoid relying on $c->validation 2023-07-21 17:14:37 -03:00
ImportRecordMatches.pm Bug 33556: Avoid relying on $c->validation 2023-07-21 17:14:37 -03:00
Items.pm Bug 33556: Avoid relying on $c->validation 2023-07-21 17:14:37 -03:00
Libraries.pm Bug 33556: Avoid relying on $c->validation 2023-07-21 17:14:37 -03:00
OAuth.pm Bug 33556: Avoid relying on $c->validation 2023-07-21 17:14:37 -03:00
Patrons.pm Bug 33556: Avoid relying on $c->validation 2023-07-21 17:14:37 -03:00
Quotes.pm Bug 33556: Avoid relying on $c->validation 2023-07-21 17:14:37 -03:00
ReturnClaims.pm Bug 33556: Avoid relying on $c->validation 2023-07-21 17:14:37 -03:00
SearchFilter.pm Bug 33556: Avoid relying on $c->validation 2023-07-21 17:14:37 -03:00
Stage.pm Bug 33556: Avoid relying on $c->validation 2023-07-21 17:14:37 -03:00
Static.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
Suggestions.pm Bug 33556: Avoid relying on $c->validation 2023-07-21 17:14:37 -03:00
Tickets.pm Bug 33556: Avoid relying on $c->validation 2023-07-21 17:14:37 -03:00
TransferLimits.pm Bug 33556: Avoid relying on $c->validation 2023-07-21 17:14:37 -03:00
TwoFactorAuth.pm Bug 33556: Avoid relying on $c->validation 2023-07-21 17:14:37 -03:00