various 2fa improvements
- cleaner code - use TWO_FACTOR_LOGIN_MAX_SECONDS instead of hardcoded number - render qrcode properly - use nginx to rate limit login attempts - do not throw error if session user is undefined
This commit is contained in:
parent
aefc7a23bc
commit
79b04c2240
3 changed files with 11 additions and 14 deletions
|
@ -358,3 +358,5 @@ else:
|
|||
OTEL_EXPORTER_OTLP_ENDPOINT = env("OTEL_EXPORTER_OTLP_ENDPOINT", None)
|
||||
OTEL_EXPORTER_OTLP_HEADERS = env("OTEL_EXPORTER_OTLP_HEADERS", None)
|
||||
OTEL_SERVICE_NAME = env("OTEL_SERVICE_NAME", None)
|
||||
|
||||
TWO_FACTOR_LOGIN_MAX_SECONDS = 60
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue