aboutsummaryrefslogtreecommitdiffstats
path: root/manager
diff options
context:
space:
mode:
authorAndrea Lepori <alepori@student.ethz.ch>2020-06-25 18:18:20 +0200
committerAndrea Lepori <alepori@student.ethz.ch>2020-06-25 18:18:20 +0200
commit4bbe761215dbe989e8b2efc3823740416f403e71 (patch)
tree11f6f8c419516f196c525e25e11ec8ca4f086c42 /manager
parentNicer user list, multi group support (diff)
downloadscout-subs-4bbe761215dbe989e8b2efc3823740416f403e71.tar.gz
scout-subs-4bbe761215dbe989e8b2efc3823740416f403e71.zip
reset password and decorators for login check
Diffstat (limited to '')
-rw-r--r--manager/settings.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/manager/settings.py b/manager/settings.py
index 087d7da..037fc9e 100644
--- a/manager/settings.py
+++ b/manager/settings.py
@@ -27,6 +27,18 @@ DEBUG = True
ALLOWED_HOSTS = []
+# Email
+SENDGRID_API_KEY = os.getenv('SENDGRID_API_KEY')
+
+EMAIL_HOST = 'smtp.sendgrid.net'
+EMAIL_HOST_USER = 'apikey'
+EMAIL_HOST_PASSWORD = SENDGRID_API_KEY
+EMAIL_PORT = 587
+EMAIL_USE_TLS = True
+
+DEFAULT_FROM_EMAIL = 'mafaldo@hotmail.it'
+SERVER_EMAIL = 'mafaldo@hotmail.it'
+
# Application definition