revamp email section to allow more env vars1

pull/3/head
lalanza808 5 years ago
parent f1e783e057
commit d3630d0114

@ -221,6 +221,11 @@ WALLET_PASS = os.environ.get('WALLET_PASS', '')
EMAIL_BACKEND = os.environ.get('EMAIL_BACKEND', 'django.core.mail.backends.console.EmailBackend') EMAIL_BACKEND = os.environ.get('EMAIL_BACKEND', 'django.core.mail.backends.console.EmailBackend')
EMAIL_FROM = 'noreply@xmrauctions.net' EMAIL_FROM = 'noreply@xmrauctions.net'
EMAIL_HOST = os.environ.get('EMAIL_HOST', None)
EMAIL_PORT = os.environ.get('EMAIL_PORT', None)
EMAIL_USE_TLS = os.environ.get('EMAIL_USE_TLS', None)
EMAIL_HOST_USER = os.environ.get('EMAIL_HOST_USER', None)
EMAIL_HOST_PASSWORD = os.environ.get('EMAIL_HOST_PASSWORD', None)
# CORS # CORS