setting, session and profile

This commit is contained in:
debu-2 2026-10-07 03:19:09 +05:30
parent 48eea5d201
commit 4a563f4f34
31 changed files with 1797 additions and 159 deletions

View file

@ -19,7 +19,7 @@ class Settings(BaseSettings):
)
mongo_database: str = "agmail_messages"
jwt_secret: str = "replace-this-development-secret"
access_token_minutes: int = 60
access_token_minutes: int = 10080
platform_domain: str = "gentic.email"
platform_spf_include: str = "_spf.gentic.email"
@ -55,6 +55,11 @@ class Settings(BaseSettings):
dns_setup_username: str = "smtp-credentia"
dns_setup_password: str = "Nishtha#01"
urmi_otp_api_url: str = "https://urmiai.com/api/v1/otp/generate"
urmi_otp_api_key: str = ""
urmi_otp_project_name: str = "gentic-email-login"
urmi_otp_template_type: str = "login_authentication"
model_config = SettingsConfigDict(
env_file=".env",
env_file_encoding="utf-8",