]> 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)
committerAndrew Fuerste-Henry <andrew@bywatersolutions.com>
Mon, 24 May 2021 15:43:56 +0000 (15:43 +0000)
commit21c11d865deff86e167c7172eacaf2e0e933291c
tree58f3c6322d5eea5d1495d960da560008f676bc7b
parent4b759ae0412085969e5225848d0145554f3a7cfc
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>
(cherry picked from commit 26e7262963c2744bdec91a1f7487a830c9017120)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
C4/Auth_with_cas.pm
installer/data/mysql/atomicupdate/Bug_20854.perl [new file with mode: 0644]
installer/data/mysql/sysprefs.sql
koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/admin.pref
t/db_dependent/Auth_with_cas.t