Skip to content

Commit 0ae2578

Browse files
committed
security-package/issues/171: Update for system.xml
1 parent db0456c commit 0ae2578

File tree

3 files changed

+19
-4
lines changed

3 files changed

+19
-4
lines changed

Securitytxt/etc/adminhtml/system.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@
7979
showInWebsite="1" showInStore="1">
8080
<label>Policy</label>
8181
<validate>validate-url validate-no-html-tags</validate>
82-
<comment>Example: https://example.com/security-policy.html</comment>
8382
</field>
8483
<field id="signature_text" translate="label comment" type="textarea" sortOrder="80" showInDefault="1"
8584
showInWebsite="1" showInStore="1">
@@ -90,4 +89,4 @@
9089
</group>
9190
</section>
9291
</system>
93-
</config>
92+
</config>

Securitytxt/etc/config.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
<?xml version="1.0"?>
2+
<!--
3+
/**
4+
* Copyright © Magento, Inc. All rights reserved.
5+
* See COPYING.txt for license details.
6+
*/
7+
-->
8+
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
9+
xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/config.xsd">
10+
<default>
11+
<magento_securitytxt_securitytxt>
12+
<other_information>
13+
<policy>https://magento.com/security</policy>
14+
</other_information>
15+
</magento_securitytxt_securitytxt>
16+
</default>
17+
</config>

Securitytxt/i18n/en_US.csv

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,4 @@ Preferred-Languages,Preferred-Languages
2525
Hiring,Hiring
2626
"Example: https://example.com/jobs.html","Example: https://example.com/jobs.html"
2727
Policy,Policy
28-
"Example: https://example.com/security-policy.html","Example: https://example.com/security-policy.html"
29-
Signature,Signature
28+
Signature,Signature

0 commit comments

Comments
 (0)