From 2b9449f5cde412547ec9157525eb06c78b82af76 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Wed, 25 Jan 2017 14:19:16 +0100 Subject: [PATCH] Bug 17993 - Do not use modal authentication with CAS - lists Bug 12046 corrected the fact that modal dialog does not allow to use the CAS authentication in main authentication link. This must also be corrected in link of lists popup : "Log in to create your own lists" Test plan : - Enable syspref casAuthentication - Go to OPAC - Click on Lists > Log in to create your own lists => Without patch you get the modal login popup => With patch you go to the login page opac-user.pl Signed-off-by: Mark Tompsett --- koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc index 10ea161..9691353 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc +++ b/koha-tmpl/opac-tmpl/bootstrap/en/includes/masthead.inc @@ -71,7 +71,12 @@
  • New list
  • [% END %] [% ELSE %] -
  • Log in to create your own lists
  • + [% IF Koha.Preference('casAuthentication') %] + [%# CAS authentication is too complicated for modal window %] +
  • Log in to create your own lists
  • + [% ELSE %] +
  • Log in to create your own lists
  • + [% END %] [% END # / IF loggedinusername %] [% END # / IF opacuserlogin %] -- 2.7.4