diff --git a/changelog.d/20230815_205312_tmisilo_fix_issue_139.md b/changelog.d/20230815_205312_tmisilo_fix_issue_139.md new file mode 100644 index 00000000..fe1a238c --- /dev/null +++ b/changelog.d/20230815_205312_tmisilo_fix_issue_139.md @@ -0,0 +1 @@ +- [Bugfix] Add `INFO_EMAIL` and `PASSWORD_RESET_SUPPORT_LINK` missing variables defaults of `CONTACT_EMAIL` and `mailto:{{ CONTACT_EMAIL }}` respectfully. These two variables help build the Forgot Password screen. (by @misilot) --> diff --git a/tutormfe/patches/openedx-lms-development-settings b/tutormfe/patches/openedx-lms-development-settings index 1da947c5..31cfb4e2 100644 --- a/tutormfe/patches/openedx-lms-development-settings +++ b/tutormfe/patches/openedx-lms-development-settings @@ -6,6 +6,7 @@ MFE_CONFIG = { "CREDENTIALS_BASE_URL": "", "DISCOVERY_API_BASE_URL": "{% if DISCOVERY_HOST is defined %}http://{{ DISCOVERY_HOST }}:8381{% endif %}", "FAVICON_URL": "http://{{ LMS_HOST }}/favicon.ico", + "INFO_EMAIL": "{{ CONTACT_EMAIL }}", "LANGUAGE_PREFERENCE_COOKIE_NAME": "openedx-language-preference", "LMS_BASE_URL": "http://{{ LMS_HOST }}:8000", "LOGIN_URL": "http://{{ LMS_HOST }}:8000/login", @@ -14,6 +15,7 @@ MFE_CONFIG = { "LOGO_TRADEMARK_URL": "http://{{ LMS_HOST }}:8000/theming/asset/images/logo.png", "LOGOUT_URL": "http://{{ LMS_HOST }}:8000/logout", "MARKETING_SITE_BASE_URL": "http://{{ LMS_HOST }}:8000", + "PASSWORD_RESET_SUPPORT_LINK": "mailto:{{ CONTACT_EMAIL }}", "REFRESH_ACCESS_TOKEN_ENDPOINT": "http://{{ LMS_HOST }}:8000/login_refresh", "SITE_NAME": "{{ PLATFORM_NAME }}", "STUDIO_BASE_URL": "http://{{ CMS_HOST }}:8001", diff --git a/tutormfe/patches/openedx-lms-production-settings b/tutormfe/patches/openedx-lms-production-settings index 662394e2..38870aa7 100644 --- a/tutormfe/patches/openedx-lms-production-settings +++ b/tutormfe/patches/openedx-lms-production-settings @@ -6,6 +6,7 @@ MFE_CONFIG = { "CREDENTIALS_BASE_URL": "", "DISCOVERY_API_BASE_URL": "{% if DISCOVERY_HOST is defined %}{% if ENABLE_HTTPS %}https{% else %}http{% endif %}://{{ DISCOVERY_HOST }}{% endif %}", "FAVICON_URL": "{% if ENABLE_HTTPS %}https{% else %}http{% endif %}://{{ LMS_HOST }}/favicon.ico", + "INFO_EMAIL": "{{ CONTACT_EMAIL }}", "LANGUAGE_PREFERENCE_COOKIE_NAME": "openedx-language-preference", "LMS_BASE_URL": "{% if ENABLE_HTTPS %}https{% else %}http{% endif %}://{{ LMS_HOST }}", "LOGIN_URL": "{% if ENABLE_HTTPS %}https{% else %}http{% endif %}://{{ LMS_HOST }}/login", @@ -14,6 +15,7 @@ MFE_CONFIG = { "LOGO_TRADEMARK_URL": "{% if ENABLE_HTTPS %}https{% else %}http{% endif %}://{{ LMS_HOST }}/theming/asset/images/logo.png", "LOGOUT_URL": "{% if ENABLE_HTTPS %}https{% else %}http{% endif %}://{{ LMS_HOST }}/logout", "MARKETING_SITE_BASE_URL": "{% if ENABLE_HTTPS %}https{% else %}http{% endif %}://{{ LMS_HOST }}", + "PASSWORD_RESET_SUPPORT_LINK": "mailto:{{ CONTACT_EMAIL }}", "REFRESH_ACCESS_TOKEN_ENDPOINT": "{% if ENABLE_HTTPS %}https{% else %}http{% endif %}://{{ LMS_HOST }}/login_refresh", "SITE_NAME": "{{ PLATFORM_NAME }}", "STUDIO_BASE_URL": "{{ "https" if ENABLE_HTTPS else "http" }}://{{ CMS_HOST }}",