Configure OTP Validity Time
Overview
Section titled “Overview”The OTP validity time determines how long a one-time password remains valid after being sent to the user. Increase this value for users with slow network connections or decrease it for higher security requirements.
Default value: 60 seconds
The validity time for an OTP is by default set to 60 seconds. This global parameter can be changed in the application-prod.yml file.
Default path to the file in Windows:
C:\Program Files (x86)\Mideye Server 5\config\application-prod.yml
The default path to the file in Linux:
/opt/mideyeserver/config/application-prod.yml
Find the in the section named ‘application’ and add the line below, where xxx is replaced with the time in seconds.
otp-timeout: xxxBelow is an example of how the section should look after the change is made, take note of the indentation:
application: switch-host: primary.mideye.com switch-backup-host: secondary.mideye.com switch-port: 2xxxx log-path: C:\Program Files (x86)\Mideye Server 5\log otp-timeout: xxxThe Mideye Server service must be re-started for the change to take effect.