]> 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)
committerFridolin Somers <fridolin.somers@biblibre.com>
Thu, 29 Apr 2021 11:57:51 +0000 (13:57 +0200)
commit26e7262963c2744bdec91a1f7487a830c9017120
treef3e380465b0f0eeba70df9252313006185f24a03
parent689e3ac5fce0ccee109b135bffa98e962db37640
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>
(cherry picked from commit 91307707ed2ff874ec5e2f25658a286019204e54)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
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