Skip to content

Commit e3ce405

Browse files
author
Lars Schröder
committed
fix event to enable security headers on all pages
1 parent f3f5aab commit e3ce405

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Subscriber/Frontend.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public function __construct(ContainerInterface $container)
3333
public static function getSubscribedEvents()
3434
{
3535
return [
36-
'Enlight_Controller_Action_PostDispatchSecure_Frontend_Index' => 'onPostDispatch',
36+
'Enlight_Controller_Action_PostDispatchSecure_Frontend' => 'onPostDispatch',
3737
];
3838
}
3939

plugin.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,19 @@
22
<plugin xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
33
xsi:noNamespaceSchemaLocation="../../../engine/Shopware/Components/Plugin/schema/plugin.xsd">
44
<label>Security Headers</label>
5-
<version>1.0.0</version>
5+
<version>1.1.0</version>
66

77
<author>Kiel Coding</author>
88
<copyright>(c) by Kiel Coding</copyright>
99
<link>https://kielcoding.de</link>
1010
<license>proprietary</license>
1111
<compatibility minVersion="5.2.0" />
1212

13+
<changelog version="1.1.0">
14+
<changes>Fix event</changes>
15+
<changes lang="de">Fix Event</changes>
16+
</changelog>
17+
1318
<changelog version="1.0.0">
1419
<changes>Initial Release</changes>
1520
<changes lang="de">Erste Veröffentlichung</changes>

0 commit comments

Comments
 (0)