Commit b13fd49d authored by Noe Nieto's avatar Noe Nieto 💬

Make EMAIL_BACKEND configurable on .ini file

parent 38fa6509
......@@ -264,7 +264,7 @@ PASSWORD_RESET_TOKEN_EXPIRES = secret_config('PASSWORD_RESET_TOKEN_EXPIRES', 180
ADMINS = [('Librem One Admins', 'admins@librem.one'), ('Purism Admins', 'admins@puri.sm')]
DEFAULT_FROM_EMAIL = config('DEFAULT_FROM_EMAIL', 'Librem One <noreply@librem.one>')
SERVER_EMAIL = config('SERVER_EMAIL', 'Librem One <noreply@librem.one>')
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
EMAIL_BACKEND = config('EMAIL_BACKEND','django.core.mail.backends.smtp.EmailBackend')
EMAIL_HOST = config('EMAIL_HOST', 'localhost')
EMAIL_HOST_USER = config('EMAIL_HOST_USER', '')
EMAIL_HOST_PASSWORD = secret_config('EMAIL_HOST_PASSWORD', '')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment