1
0
Fork 0

Read TOTP variables from .env

This commit is contained in:
Chris Young 2023-02-17 09:40:31 +00:00
parent 867b2ff542
commit 9460553086
2 changed files with 8 additions and 2 deletions

View file

@ -120,3 +120,9 @@ OTEL_SERVICE_NAME=
# for your instance:
# https://docs.djangoproject.com/en/3.2/ref/settings/#secure-proxy-ssl-header
HTTP_X_FORWARDED_PROTO=false
# TOTP settings
# TWO_FACTOR_LOGIN_VALIDITY_WINDOW sets the number of codes either side
# which will be accepted.
TWO_FACTOR_LOGIN_VALIDITY_WINDOW=2
TWO_FACTOR_LOGIN_MAX_SECONDS=60