[Koha-bugs] [Bug 19752] New: Improve authentication response in offline_circ/ service.pl

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Dec 5 16:33:52 CET 2017


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

            Bug ID: 19752
           Summary: Improve authentication response in
                    offline_circ/service.pl
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P5 - low
         Component: Circulation
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: alex.arnaud at biblibre.com
        QA Contact: testopia at bugs.koha-community.org
                CC: gmcharlt at gmail.com, kyle.m.hall at gmail.com

offline_circ/service.pl currently returns a "200 OK" HTTP status with a
"Authentication failed" string. We need a valid status code in this case (401).

We also need a nocookie option in this script. We added a test button in Koct
FF extention that check if the entered login/password are correct. But if the
user is currently authenticated on Koha, the script will use the cookie
authentication which can be misleading. With nocookie parameter set to true,
only the login/password will be checked.

Patch is coming

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


More information about the Koha-bugs mailing list