From 21778bec63bd61e3d83f7fd0a59b18f0ebcb0c78 Mon Sep 17 00:00:00 2001 From: alistair3149 Date: Mon, 23 Dec 2019 23:27:36 -0500 Subject: [PATCH] Enabled CSP for testing --- includes/SkinCitizen.php | 2 ++ skin.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/SkinCitizen.php b/includes/SkinCitizen.php index 7029db2f..bedc4ff7 100644 --- a/includes/SkinCitizen.php +++ b/includes/SkinCitizen.php @@ -47,6 +47,8 @@ class SkinCitizen extends SkinTemplate { ] ); } + + // HTTP headers // CSP if ( $this->getConfig()->get( 'CitizenEnableCSP' ) ) { diff --git a/skin.json b/skin.json index 93e57328..d2faa07d 100644 --- a/skin.json +++ b/skin.json @@ -39,7 +39,7 @@ }, "EnableCSPReportMode": { "value": false, - "description": "Enable or disable Content Security Policy report mode, it will override the CSP when enabled", + "description": "Enable or disable Content Security Policy report only mode, it will override the CSP when enabled", "descriptionmsg": "citizen-config-enablecspreportmode", "public": true },