From 43dc41470d58dbcc3b683d00f0b983df7d8f61d5 Mon Sep 17 00:00:00 2001 From: Tom Butcher Date: Mon, 18 Aug 2025 01:07:26 +0100 Subject: [PATCH] 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. --- config.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config.json b/config.json index df8b229..d103ab2 100644 --- a/config.json +++ b/config.json @@ -22,7 +22,8 @@ "mongo": { "url": "mongodb://192.168.68.53:27017/farmcontrol" } - } + }, + "otpExpiryMins": 0.5 }, "production": { "server": {