Accessibility and privacy notices added to layout.\nTest new mail server code.

This commit is contained in:
2024-05-01 21:02:57 +01:00
parent 46f2f730e2
commit 185eafe9e2
3 changed files with 11 additions and 3 deletions

View File

@@ -37,9 +37,10 @@ class Config:
"""
# id_currency = 1
# id_region_delivery = 1
MAIL_SERVER = 'smtp.gmail.com'
MAIL_PORT = 587
MAIL_USE_TLS = True
MAIL_SERVER = 'localhost' # 'smtp.gmail.com'
MAIL_PORT = 25 # 587
MAIL_USE_TLS = False # True
MAIL_USE_SSL = False
MAIL_USERNAME = os.getenv('MAIL_DEFAULT_SENDER')
MAIL_PASSWORD = os.getenv('MAIL_PASSWORD')
MAIL_DEFAULT_SENDER = os.getenv('MAIL_DEFAULT_SENDER')