Koha-clms/Koha/REST
David Cook e424b07d27 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>
Signed-off-by: Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz>
2024-01-24 08:30:00 +00:00
..
Plugin Bug 30536: (QA follow-up) POD + Spec Consistency 2022-05-03 11:19:51 -10:00
V1 Bug 34893: Add checkpw change to REST API 2024-01-24 08:30:00 +00:00
V1.pm Bug 30194: Adapt Koha to the latest JSON::Validator version 2022-03-29 16:44:31 +02:00