Merge branch 'add-email-timeout' into 'master'

Add email timeout

See merge request allianceauth/allianceauth!1580
This commit is contained in:
Ariel Rin 2024-01-15 05:19:57 +00:00
commit 853826c140

View File

@ -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