Bug 29791: KohaOpacLanguage cookie should set the secure flag if using https
authorKyle M Hall <kyle@bywatersolutions.com>
Tue, 4 Jan 2022 15:24:18 +0000 (10:24 -0500)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 25 Mar 2022 00:22:10 +0000 (14:22 -1000)
commit1f34ec1330ff15692e04ab47414bf6a652b705dd
treea2422ab8a3b32deaa077e607b4e83e6c856b6296
parent3e484d6593310edc3a15454930358c9d3a979b0f
Bug 29791: KohaOpacLanguage cookie should set the secure flag if using https

To test, the headers should have value set-cookie: secure;
for the language cookie, when the site is using https.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
C4/Templates.pm