]> git.koha-community.org Git - koha.git/commit
Bug 19752: offline_circ/service.pl - Return HTTP status 401 when authentication faile...
authorAlex Arnaud <alex.arnaud@biblibre.com>
Tue, 5 Dec 2017 10:43:05 +0000 (10:43 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 3 May 2018 16:26:48 +0000 (13:26 -0300)
commit60e5a8a2aba887371966c593ffab44c6a4ac5d94
tree335e575b525224fe4ebdc1bcd047ccf5e4a5085c
parent90fd45d0f279c58083e14f7953ea762726b8386f
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

Signed-off-by: Maksim Sen <maksim.sen@inlibro.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
offline_circ/service.pl