[Koha-bugs] [Bug 22061] Public route to change password

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 7 12:32:28 CET 2019


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22061

--- Comment #7 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 83682
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=83682&action=edit
Bug 22061: Public route to change password

This patch implements a route to change patron's password for
unprivileged users. It's intended for using in the OPAC (or however
consumers find it useful).

It is a starting point for the public API, and the bug also implements
the on/off switch some community members asked for.

To test:
- Apply this patches
- Run:
  $ kshell
 k$ prove t/db_dependent/api/v1/patrons_password.t \
          t/db_dependent/api/v1/auth.t
=> SUCCESS: Tests pass! i.e.
        - RESTPublicAPI is honoured
        - The /public/patrons/:patron_id/password endpoint works as
        expected
- Use your favourite API testing tool to try the endpoint.
- Sign off :-D

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list