From 08ed2bb1bb1e6765fcc02c81d9408e749eee0902 Mon Sep 17 00:00:00 2001 From: Evilham Date: Fri, 2 Dec 2022 10:32:54 +0100 Subject: [PATCH] [moodle] Configure cookies to be HttpOnly This is done with the cookiehttponly config set to 1. --- dd-ctl | 1 + 1 file changed, 1 insertion(+) diff --git a/dd-ctl b/dd-ctl index e6ddb27..321596d 100755 --- a/dd-ctl +++ b/dd-ctl @@ -498,6 +498,7 @@ setup_moodle(){ php7 admin/cli/cfg.php --name=enablemobilewebservice --set=0 php7 admin/cli/cfg.php --name=enablebadges --set=0 php7 admin/cli/cfg.php --name=timezone --set="${MOODLE_TIMEZONE-Europe/Madrid}" + php7 admin/cli/cfg.php --name=cookiehttponly --set=1 php7 admin/cli/purge_caches.php EOF }