[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 Apr 24 17:16:03 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 #74776|0                           |1
        is obsolete|                            |

--- Comment #18 from Matthias Meusburger <matthias.meusburger at biblibre.com> ---
Created attachment 74814
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=74814&action=edit
Bug 19752: 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>

Signed-off-by: Katrin Fischer <katrin.fischer.83 at web.de>

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


More information about the Koha-bugs mailing list