Configure OTP Validity Time in Mideye — Timeout Setup
The default validity time for a one-time password (OTP) is 60 seconds. This global parameter can be changed in the application-prod.yml configuration file.
Change OTP validity time
Section titled “Change OTP validity time”-
Open
application-prod.yml:- Windows:
C:\Program Files (x86)\Mideye Server 6\config\application-prod.yml - Linux:
/opt/mideyeserver6/config/application-prod.yml
- Windows:
-
In the
applicationsection, add theotp-timeoutparameter (value in seconds):
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: 120- Restart the Mideye Server service for the change to take effect.