6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-12-12 14:17:46 +00:00

fix: set default CONTACT_MAILING_ADDRESS

This commit is contained in:
Sofiane Bebert 2021-06-20 12:37:06 +01:00 committed by Régis Behmo
parent f1773c0ba9
commit 4bf61d6d35
2 changed files with 4 additions and 1 deletions

View File

@ -11,6 +11,7 @@ Note: Breaking changes between versions are indicated by "💥".
- [Bugfix] Fix "Invalid command argument" during upgrade from Koa to Lilac.
- [Bugfix] Fix mysql initialisation in docker-compose==2.0.0beta4.
- [Improvement] Tutor is now published on pypi as "tutor".
- [Improvement] Set the default contact mailing email address
## v12.0.1 (2021-06-22)
@ -748,4 +749,4 @@ Note: Breaking changes between versions are indicated by "💥".
- 2018-08-27 [Improvement] Add development requirements to openedx image.
- 2018-08-27 [Bugfix] Upgrade mongodb.
- 2018-08-19 [Improvement] Make Xqueue an optional feature.
- 2018-08-16 [Feature] Add HTTPS support.
- 2018-08-16 [Feature] Add HTTPS support.

View File

@ -39,6 +39,8 @@ ELASTIC_SEARCH_CONFIG = [{
"port": {{ ELASTICSEARCH_PORT }},
}]
CONTACT_MAILING_ADDRESS = "{{ PLATFORM_NAME }} - {% if ENABLE_HTTPS %}https{% else %}http{% endif %}://{{ LMS_HOST }}"
DEFAULT_FROM_EMAIL = ENV_TOKENS.get("DEFAULT_FROM_EMAIL", ENV_TOKENS["CONTACT_EMAIL"])
DEFAULT_FEEDBACK_EMAIL = ENV_TOKENS.get("DEFAULT_FEEDBACK_EMAIL", ENV_TOKENS["CONTACT_EMAIL"])
SERVER_EMAIL = ENV_TOKENS.get("SERVER_EMAIL", ENV_TOKENS["CONTACT_EMAIL"])