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
2 changes: 1 addition & 1 deletion TwoFactorAuth/etc/adminhtml/system.xml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
<field id="otp_window" translate="label comment" type="text" sortOrder="10" showInDefault="1"
showInWebsite="0" showInStore="0" canRestore="1">
<label>OTP Window</label>
<comment>This determines how long the one-time-passwords are valid for.</comment>
<comment>This determines how long the one-time-passwords are valid for. An OTP Window of 1 will result in the current OTP value plus 1 code in the past and 1 code in the future to be valid at any given point in time.</comment>
</field>
</group>
<group id="duo" translate="label" type="text" sortOrder="40" showInDefault="1" showInWebsite="0"
Expand Down
2 changes: 1 addition & 1 deletion TwoFactorAuth/etc/config.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<application_key backend_model="Magento\Config\Model\Config\Backend\Encrypted"/>
</duo>
<google>
<otp_window>30</otp_window>
<otp_window>1</otp_window>
</google>
</twofactorauth>
</default>
Expand Down