Seth0330 commited on
Commit
79d3ed8
·
verified ·
1 Parent(s): 0d30f5a

Update app/core/config.py

Browse files
Files changed (1) hide show
  1. app/core/config.py +8 -1
app/core/config.py CHANGED
@@ -13,8 +13,15 @@ class Settings:
13
  "sqlite:///./karate.db"
14
  )
15
 
16
- # Stripe keys (you will set these in the Space secrets)
17
  STRIPE_SECRET_KEY: str = os.getenv("STRIPE_SECRET_KEY", "")
18
  STRIPE_WEBHOOK_SECRET: str = os.getenv("STRIPE_WEBHOOK_SECRET", "")
19
 
 
 
 
 
 
 
 
20
  settings = Settings()
 
13
  "sqlite:///./karate.db"
14
  )
15
 
16
+ # Stripe keys (for webhooks)
17
  STRIPE_SECRET_KEY: str = os.getenv("STRIPE_SECRET_KEY", "")
18
  STRIPE_WEBHOOK_SECRET: str = os.getenv("STRIPE_WEBHOOK_SECRET", "")
19
 
20
+ # Email / SMTP settings for OTP emails
21
+ SMTP_HOST: str = os.getenv("SMTP_HOST", "")
22
+ SMTP_PORT: int = int(os.getenv("SMTP_PORT", "587"))
23
+ SMTP_USERNAME: str = os.getenv("SMTP_USERNAME", "")
24
+ SMTP_PASSWORD: str = os.getenv("SMTP_PASSWORD", "")
25
+ SMTP_FROM: str = os.getenv("SMTP_FROM", "")
26
+
27
  settings = Settings()