Skip to content

Commit 7341b4f

Browse files
authored
System configuration Validation
This field should be save empty, but incorrect validation was applied. Because of that, admin user couldn't save the empty value.
1 parent be26941 commit 7341b4f

File tree

1 file changed

+1
-1
lines changed
  • app/code/Magento/Integration/etc/adminhtml

1 file changed

+1
-1
lines changed

app/code/Magento/Integration/etc/adminhtml/system.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<field id="customer" translate="label comment" type="text" sortOrder="30" showInDefault="1" canRestore="1">
1717
<label>Customer Token Lifetime (hours)</label>
1818
<comment>We will disable this feature if the value is empty.</comment>
19-
<validate>required-entry validate-zero-or-greater validate-number</validate>
19+
<validate>validate-zero-or-greater validate-number</validate>
2020
</field>
2121
<field id="admin" translate="label comment" type="text" sortOrder="60" showInDefault="1" canRestore="1">
2222
<label>Admin Token Lifetime (hours)</label>

0 commit comments

Comments
 (0)