]> git.koha-community.org Git - koha.git/commit
Bug 20854: Allow correct redirect on logout for Cas servers 3.0 and superior.
authorMatthias Meusburger <matthias.meusburger@biblibre.com>
Mon, 12 Oct 2020 13:58:31 +0000 (15:58 +0200)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 21 Apr 2021 08:51:29 +0000 (10:51 +0200)
commit91307707ed2ff874ec5e2f25658a286019204e54
treeba4b72e045d98baf160bfc98e23c3ddacf4d4879
parent04631818e3c0a56859cb0f029b53111303b60f11
Bug 20854: Allow correct redirect on logout for Cas servers 3.0 and superior.

Test plan:

 1) Apply the patch
 2) Set the system preference casLogout to "Yes"
 3) Set the new system preference CasServerVersion to "CAS 3 or superior"
 4) Check that you are redirected to Koha after a CAS logout from a CAS 3 server
 5) Set the new system preference CasServerVersion to "CAS 2 or inferior"
 6) Check that you are redirected to Koha after a CAS logout from a CAS 2 server

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Auth_with_cas.pm
installer/data/mysql/atomicupdate/Bug_20854.perl [new file with mode: 0644]
installer/data/mysql/mandatory/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref
t/db_dependent/Auth_with_cas.t