Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion Securitytxt/etc/adminhtml/system.xml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,6 @@
showInWebsite="1" showInStore="0">
<label>Policy</label>
<validate>validate-url validate-no-html-tags</validate>
<comment>Example: https://example.com/security-policy.html</comment>
<backend_model>Magento\Securitytxt\Model\Config\Backend\SecureUrl</backend_model>
</field>
<field id="signature_text" translate="label comment" type="textarea" sortOrder="80" showInDefault="1"
Expand Down
17 changes: 17 additions & 0 deletions Securitytxt/etc/config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0"?>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/config.xsd">
<default>
<magento_securitytxt_securitytxt>
<other_information>
<policy>https://magento.com/security</policy>
</other_information>
</magento_securitytxt_securitytxt>
</default>
</config>
1 change: 0 additions & 1 deletion Securitytxt/i18n/en_US.csv
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,5 @@ Preferred-Languages,Preferred-Languages
Hiring,Hiring
"Example: https://example.com/jobs.html","Example: https://example.com/jobs.html"
Policy,Policy
"Example: https://example.com/security-policy.html","Example: https://example.com/security-policy.html"
Signature,Signature
"Read instructions on how to generate signature","Read instructions on how to generate signature"