Enabled CSP for testing

This commit is contained in:
alistair3149 2019-12-23 23:27:36 -05:00
parent 2e4bc7adc3
commit 21778bec63
2 changed files with 3 additions and 1 deletions

View file

@ -47,6 +47,8 @@ class SkinCitizen extends SkinTemplate {
]
);
}
// HTTP headers
// CSP
if ( $this->getConfig()->get( 'CitizenEnableCSP' ) ) {

View file

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