[Koha-bugs] [Bug 35204] New: REST API: POST endpoint /auth/password/validation dies on patron with expired password

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 31 16:59:07 CET 2023


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

            Bug ID: 35204
           Summary: REST API: POST endpoint /auth/password/validation dies
                    on patron with expired password
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5 - low
         Component: REST API
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: nick at bywatersolutions.com
                CC: tomascohen at gmail.com

The REST module relies on return of cardnumber/userid from C4::Auth::checkpw,
however a patron with an expired password returns only -2

This causes a 500 Error from the API route

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


More information about the Koha-bugs mailing list