make polling timeout configurable and 5mins by default (#789)

This commit is contained in:
Shuchang Zheng
2024-09-08 23:39:42 -07:00
committed by GitHub
parent 1dbdef9750
commit c85d868c13
3 changed files with 3 additions and 4 deletions

View File

@@ -119,6 +119,7 @@ class Settings(BaseSettings):
# TOTP Settings
TOTP_LIFESPAN_MINUTES: int = 10
VERIFICATION_CODE_POLLING_TIMEOUT_MINS: int = 5
def is_cloud_environment(self) -> bool:
"""