From 9c7de5898933226fa3b03ccdaf28221618103db9 Mon Sep 17 00:00:00 2001 From: ErikKalkoken Date: Tue, 2 Jan 2024 11:48:27 +0100 Subject: [PATCH] Add email timeout --- allianceauth/project_template/project_name/settings/base.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/allianceauth/project_template/project_name/settings/base.py b/allianceauth/project_template/project_name/settings/base.py index e15183ab..1682e9e1 100644 --- a/allianceauth/project_template/project_name/settings/base.py +++ b/allianceauth/project_template/project_name/settings/base.py @@ -172,7 +172,7 @@ MESSAGE_TAGS = { CACHES = { "default": { "BACKEND": "django_redis.cache.RedisCache", - "LOCATION": "redis://127.0.0.1:6379/1" # change the 1 here to change the database used + "LOCATION": "redis://127.0.0.1:6379/1" # change the 1 here for the DB used } } @@ -202,6 +202,8 @@ LOGOUT_REDIRECT_URL = 'authentication:dashboard' # destination after logging ou # scopes required on new tokens when logging in. Cannot be blank. LOGIN_TOKEN_SCOPES = ['publicData'] +EMAIL_TIMEOUT = 15 + # number of days email verification links are valid for ACCOUNT_ACTIVATION_DAYS = 1