Add OTP expiry configuration to config.json

- Introduced otpExpiryMins setting to specify the expiration time for OTPs in minutes.
- Updated configuration structure to enhance authentication management.
This commit is contained in:
Tom Butcher 2025-08-18 01:07:26 +01:00
parent 3424c17ab3
commit 43dc41470d

View File

@ -22,7 +22,8 @@
"mongo": {
"url": "mongodb://192.168.68.53:27017/farmcontrol"
}
}
},
"otpExpiryMins": 0.5
},
"production": {
"server": {