Change OTP Validity Time
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 6\config\application-prod.yml
The default path to the file in Linux:
/opt/mideyeserver6/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.
Below 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 6\log
otp-timeout: xxx
The Mideye Server service must be re-started for the change to take effect.