Merge branch 'master' into bug/4000/replace_ungleichcom_ungleichch

This commit is contained in:
PCoder 2018-01-03 08:59:48 +01:00
commit c368aa0272
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,6 @@
1.3.1: 2017-12-31
* feature: [all] Load email configurations host, port and use_tls from env
* bugfix: [all] Use ungleich's smtp as relayhost for sending emails
1.3: 2017-12-27
* #3911: [dcl] Integrate resend activation link into dcl landing payment page
* #3972: [hosting] Add ungleich company info to invoice footer

View file

@ -63,8 +63,12 @@ LOGIN_URL = None
LOGOUT_URL = None
LOGIN_REDIRECT_URL = None
EMAIL_HOST = "localhost"
EMAIL_PORT = 25
EMAIL_HOST = env("EMAIL_HOST")
if not EMAIL_HOST:
EMAIL_HOST = "localhost"
EMAIL_PORT = int_env("EMAIL_PORT", 25)
EMAIL_USE_TLS = bool_env("EMAIL_USE_TLS")
SECRET_KEY = env('DJANGO_SECRET_KEY')
# Application definition