[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
Fri Apr 6 21:40:40 CEST 2018


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

Maksim Sen <maksim.sen at inlibro.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #69511|0                           |1
        is obsolete|                            |

--- Comment #5 from Maksim Sen <maksim.sen at inlibro.com> ---
Created attachment 73799
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=73799&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

https://bugs.koha-community.org/show_bug.cgi?id=19752
Signed-off-by: Maksim Sen <maksim.sen at inlibro.com>

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


More information about the Koha-bugs mailing list