1
0
Fork 0

Specify TOTP validity window in settings.py

This commit is contained in:
Chris Young 2023-02-13 15:17:54 +00:00
parent 5bae00b3fe
commit 867b2ff542
2 changed files with 3 additions and 1 deletions

View file

@ -369,6 +369,7 @@ OTEL_EXPORTER_OTLP_HEADERS = env("OTEL_EXPORTER_OTLP_HEADERS", None)
OTEL_SERVICE_NAME = env("OTEL_SERVICE_NAME", None)
TWO_FACTOR_LOGIN_MAX_SECONDS = 60
TWO_FACTOR_LOGIN_VALIDITY_WINDOW = 2
HTTP_X_FORWARDED_PROTO = env.bool("SECURE_PROXY_SSL_HEADER", False)
if HTTP_X_FORWARDED_PROTO: