Skip to content

Commit fc052a8

Browse files
committed
Add EMAIL_HOST as env variable
Signed-off-by: Tushar Goel <tushar.goel.dav@gmail.com>
1 parent 352aed6 commit fc052a8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

vulnerablecode/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
5050
DEBUG_UI = env.bool("VULNERABLECODE_DEBUG_UI", default=False)
5151

5252
EMAIL_BACKEND = "django.core.mail.backends.smtp.EmailBackend"
53-
EMAIL_HOST = "smtp.gmail.com"
53+
EMAIL_HOST = env.str("EMAIL_HOST", default="")
5454
EMAIL_USE_TLS = True
5555
EMAIL_PORT = 587
5656
EMAIL_HOST_USER = env.str("EMAIL_HOST_USER", default="")

0 commit comments

Comments
 (0)