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:
parent
3424c17ab3
commit
43dc41470d
@ -22,7 +22,8 @@
|
|||||||
"mongo": {
|
"mongo": {
|
||||||
"url": "mongodb://192.168.68.53:27017/farmcontrol"
|
"url": "mongodb://192.168.68.53:27017/farmcontrol"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
"otpExpiryMins": 0.5
|
||||||
},
|
},
|
||||||
"production": {
|
"production": {
|
||||||
"server": {
|
"server": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user