1
0
Fork 0

Fixes sending invite emails

Corrects the email sender and avoids integrity error on saves
This commit is contained in:
Mouse Reeve 2021-03-29 08:33:12 -07:00
parent fd97b167e1
commit f63b6fb325
4 changed files with 9 additions and 6 deletions

View file

@ -25,6 +25,7 @@ EMAIL_PORT = env("EMAIL_PORT", 587)
EMAIL_HOST_USER = env("EMAIL_HOST_USER")
EMAIL_HOST_PASSWORD = env("EMAIL_HOST_PASSWORD")
EMAIL_USE_TLS = env("EMAIL_USE_TLS", True)
DEFAULT_FROM_EMAIL = "admin@{:s}".format(env("DOMAIN"))
# Build paths inside the project like this: os.path.join(BASE_DIR, ...)
BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))