system.xml 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  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" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Config:etc/system_file.xsd">
  9. <system>
  10. <section id="admin">
  11. <group id="emails">
  12. <field id="user_notification_template" translate="label comment" type="select" sortOrder="40" showInDefault="1" showInWebsite="0" showInStore="0" canRestore="1">
  13. <label>User Notification Template</label>
  14. <comment>Email template chosen based on theme fallback when "Default" option is selected.</comment>
  15. <source_model>Magento\Config\Model\Config\Source\Email\Template</source_model>
  16. </field>
  17. </group>
  18. <group id="security">
  19. <field id="lockout_failures" translate="label comment" sortOrder="100" showInDefault="1" canRestore="1">
  20. <label>Maximum Login Failures to Lockout Account</label>
  21. <comment>We will disable this feature if the value is empty.</comment>
  22. <validate>validate-zero-or-greater validate-digits</validate>
  23. </field>
  24. <field id="lockout_threshold" translate="label" sortOrder="110" showInDefault="1" canRestore="1">
  25. <label>Lockout Time (minutes)</label>
  26. <validate>validate-zero-or-greater validate-digits</validate>
  27. </field>
  28. <field id="password_lifetime" translate="label comment" sortOrder="120" showInDefault="1" canRestore="1">
  29. <label>Password Lifetime (days)</label>
  30. <comment>We will disable this feature if the value is empty. </comment>
  31. <validate>validate-zero-or-greater validate-digits</validate>
  32. </field>
  33. <field id="password_is_forced" translate="label" sortOrder="130" type="select" showInDefault="1" canRestore="1">
  34. <label>Password Change</label>
  35. <source_model>Magento\User\Model\System\Config\Source\Password</source_model>
  36. </field>
  37. </group>
  38. </section>
  39. </system>
  40. </config>