refactor and black

This commit is contained in:
grillazz
2024-12-28 08:10:09 +01:00
parent 189158d31f
commit 6ba6d23047
4 changed files with 42 additions and 16 deletions

View File

@@ -10,6 +10,7 @@ class SMTPConfig(BaseModel):
port: int = os.getenv("EMAIL_PORT", 587)
username: str = os.getenv("EMAIL_HOST_USER", "smtp_user")
password: str = os.getenv("EMAIL_HOST_PASSWORD", "smtp_password")
template_path: str = os.getenv("EMAIL_TEMPLATE_PATH", "templates")
class Settings(BaseSettings):