Compare commits
2 Commits
dc3e7f4b27
...
7ff972e623
Author | SHA1 | Date |
---|---|---|
Starthur | 7ff972e623 | |
Starthur | d8791353fb |
|
@ -151,7 +151,10 @@ TEMPLATES[0]['OPTIONS']['context_processors'].append("ctfs.context_processors.ca
|
||||||
MEDIA_URL = '/media/'
|
MEDIA_URL = '/media/'
|
||||||
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
|
MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
|
||||||
LOGIN_URL = '/accounts/signin/'
|
LOGIN_URL = '/accounts/signin/'
|
||||||
EMAIL_BACKEND = 'django_mailjet.backends.MailjetBackend'
|
EMAIL_BACKEND = 'django.core.mail.backends.smtp.EmailBackend'
|
||||||
EMAIL_HOST = 'in-v3.mailjet.com'
|
EMAIL_HOST = 'mail.42ctf.org'
|
||||||
EMAIL_PORT = 587
|
EMAIL_PORT = 587
|
||||||
DEFAULT_FROM_EMAIL = '42ctf <no-reply@42ctf.org>'
|
EMAIL_USE_TLS = True
|
||||||
|
EMAIL_HOST_USER = os.getenv("EMAIL_USER")
|
||||||
|
EMAIL_HOST_PASSWORD = os.getenv("EMAIL_PASSWORD")
|
||||||
|
DEFAULT_FROM_EMAIL = '42CTF <no-reply@42ctf.org>'
|
||||||
|
|
Loading…
Reference in New Issue