Skip to content

Commit

Permalink
sendgrid auth
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffreynyaga committed Jan 7, 2020
1 parent a3597fd commit efc268c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
3 changes: 3 additions & 0 deletions .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,6 @@ AWS_SECRET_ACCESS_KEY=yoursecretaccesskeygoeshere
AWS_STORAGE_BUCKET_NAME=yourawsbucketname

ALLOWED_HOSTS=localhost,yourdomain.com, youripadrress

EMAIL_HOST_USER=username
EMAIL_HOST_PASSWORD=password
8 changes: 5 additions & 3 deletions ANGA_UTM/sendgridauth/conf.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
from decouple import config

EMAIL_HOST = 'smtp.sendgrid.net'
EMAIL_HOST_USER = 'geoffreynyaga'
EMAIL_HOST_PASSWORD = 'Marrakech3616'

EMAIL_HOST = "smtp.sendgrid.net"
EMAIL_HOST_USER = config("EMAIL_HOST_USER")
EMAIL_HOST_PASSWORD = config("EMAIL_HOST_PASSWORD")
EMAIL_PORT = 587
EMAIL_USE_TLS = True

0 comments on commit efc268c

Please sign in to comment.