From bb6a77dfcb553fcabfff8a3337a569f9e30b6f16 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Fri, 14 Mar 2025 10:14:47 -0500 Subject: Move expiry of auth-based emails into a config variable. To ease setting up of value without changing code, move the value out into a configuration variable. --- gn_auth/settings.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'gn_auth/settings.py') diff --git a/gn_auth/settings.py b/gn_auth/settings.py index d561fa9..d59e997 100644 --- a/gn_auth/settings.py +++ b/gn_auth/settings.py @@ -45,3 +45,7 @@ SMTP_TIMEOUT = 200 # seconds SMTP_USER = "no-reply@genenetwork.org" SMTP_PASSWORD = "asecrettoken" EMAIL_ADDRESS = "no-reply@uthsc.edu" + + +## Variable settings for various emails going out to users +AUTH_EMAILS_EXPIRY_MINUTES = 15 -- cgit v1.2.3