[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
Mon Apr 23 13:33:22 CEST 2018


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

Matthias Meusburger <matthias.meusburger at biblibre.com> changed:

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

--- Comment #14 from Matthias Meusburger <matthias.meusburger at biblibre.com> ---
Created attachment 74712
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74712&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?userid=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