summaryrefslogtreecommitdiff
path: root/app/Middleware/BootstrapMiddleware.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Middleware/BootstrapMiddleware.php')
-rw-r--r--app/Middleware/BootstrapMiddleware.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Middleware/BootstrapMiddleware.php b/app/Middleware/BootstrapMiddleware.php
index c9de1de9..727f600c 100644
--- a/app/Middleware/BootstrapMiddleware.php
+++ b/app/Middleware/BootstrapMiddleware.php
@@ -33,7 +33,7 @@ class BootstrapMiddleware extends BaseMiddleware
$this->response->withContentSecurityPolicy($this->container['cspRules']);
$this->response->withSecurityHeaders();
- if (ENABLE_XFRAME && $this->router->getAction() !== 'readonly') {
+ if (ENABLE_XFRAME) {
$this->response->withXframe();
}