Skip to content

Commit 9e38576

Browse files
ENGCOM-5611: Fixed #23852 Magento 2.3 Customer Configuration in the Online Customer Options have not proper validation #23856
- Merge Pull Request #23856 from kirtinariya1/magento2-1:fixed-customerconfiguration - Merged commits: 1. c347ef4 2. f353af1
2 parents 087939f + f353af1 commit 9e38576

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,10 +290,12 @@
290290
<label>Online Customers Options</label>
291291
<field id="online_minutes_interval" translate="label comment" type="text" sortOrder="1" showInDefault="1" showInWebsite="0" showInStore="0">
292292
<label>Online Minutes Interval</label>
293+
<validate>validate-number validate-greater-than-zero</validate>
293294
<comment>Leave empty for default (15 minutes).</comment>
294295
</field>
295296
<field id="section_data_lifetime" translate="label comment" type="text" sortOrder="1" showInDefault="1" showInWebsite="0" showInStore="0">
296297
<label>Customer Data Lifetime</label>
298+
<validate>validate-number validate-greater-than-zero</validate>
297299
<comment>Please specify value in minutes.</comment>
298300
</field>
299301
</group>

0 commit comments

Comments
 (0)