[moodle] Configure cookies to be HttpOnly

This is done with the cookiehttponly config set to 1.
merge-requests/53/head
Evilham 2022-12-02 10:32:54 +01:00
parent 8f5de8af6a
commit 08ed2bb1bb
No known key found for this signature in database
GPG Key ID: AE3EE30D970886BF
1 changed files with 1 additions and 0 deletions

1
dd-ctl
View File

@ -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
}