[Koha-bugs] [Bug 19752] 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:41:47 CET 2017


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

--- Comment #1 from Alex Arnaud <alex.arnaud at biblibre.com> ---
Created attachment 69511
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=69511&action=edit
offline_circ/service.pl return HTTP status 401 when authentication failed and
add option nocookie.

test plan:

- Apply this patch,
- log in to Koha,
- go to cgi-bin/koha/offline_circ/service.pl with no valid user
  and password as parameters and nocookie set to 1. i.e:
  cgi-bin/koha/offline_circ/service.pl?user=alex&password=wrongpass&nocookie=1,
- auth should fail
- check that the response code is 401

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


More information about the Koha-bugs mailing list