From 7fc9b03b425b25fd31634330bd6040184261c7f9 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 1 Jul 2014 21:25:04 +0200 Subject: [PATCH] Add default cookie settings --- root/etc/e-smith/templates/var/lib/lemonldap-ng/conf/lmConf/020auth | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/root/etc/e-smith/templates/var/lib/lemonldap-ng/conf/lmConf/020auth b/root/etc/e-smith/templates/var/lib/lemonldap-ng/conf/lmConf/020auth index 2d157b2..d0871a2 100644 --- a/root/etc/e-smith/templates/var/lib/lemonldap-ng/conf/lmConf/020auth +++ b/root/etc/e-smith/templates/var/lib/lemonldap-ng/conf/lmConf/020auth @@ -24,6 +24,11 @@ else{ # Enable CAS issuer DB $conf->{'issuerDBCASActivation'} = 1; +# default cookie settings +$conf->{'securedCookie'} = 1 unless ($conf->{'securedCookie'}); +$conf->{'httpOnly'} = 1 unless ($conf->{'httpOnly'}); + + $OUT = ''; }