Compare commits
1 Commits
split-full
...
open-relea
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c792b0ec65 |
1
.env
1
.env
@@ -30,3 +30,4 @@ ENABLE_DOB_UPDATE=''
|
|||||||
MARKETING_EMAILS_OPT_IN=''
|
MARKETING_EMAILS_OPT_IN=''
|
||||||
APP_ID=
|
APP_ID=
|
||||||
MFE_CONFIG_API_URL=
|
MFE_CONFIG_API_URL=
|
||||||
|
PASSWORD_RESET_SUPPORT_LINK=''
|
||||||
|
|||||||
@@ -31,4 +31,5 @@ ENABLE_DOB_UPDATE=''
|
|||||||
MARKETING_EMAILS_OPT_IN=''
|
MARKETING_EMAILS_OPT_IN=''
|
||||||
APP_ID=
|
APP_ID=
|
||||||
MFE_CONFIG_API_URL=
|
MFE_CONFIG_API_URL=
|
||||||
|
PASSWORD_RESET_SUPPORT_LINK='mailto:support@example.com'
|
||||||
|
|
||||||
|
|||||||
10
README.rst
10
README.rst
@@ -55,6 +55,16 @@ Example: ``https://support.example.com``
|
|||||||
|
|
||||||
The fully-qualified URL to the support page in the target environment.
|
The fully-qualified URL to the support page in the target environment.
|
||||||
|
|
||||||
|
``PASSWORD_RESET_SUPPORT_LINK``
|
||||||
|
|
||||||
|
Examples:
|
||||||
|
|
||||||
|
- ``https://support.edx.org/hc/en-us/articles/206212088-What-if-I-did-not-receive-a-password-reset-message-``
|
||||||
|
|
||||||
|
- ``mailto:support@example.com``
|
||||||
|
|
||||||
|
The fully-qualified URL to the support page or email to request the support from in the target environment.
|
||||||
|
|
||||||
edX-specific Environment Variables
|
edX-specific Environment Variables
|
||||||
**********************************
|
**********************************
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,6 @@
|
|||||||
import React from 'react';
|
import React from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
|
import { getConfig } from '@edx/frontend-platform';
|
||||||
import { FormattedMessage } from '@edx/frontend-platform/i18n';
|
import { FormattedMessage } from '@edx/frontend-platform/i18n';
|
||||||
import { Hyperlink } from '@edx/paragon';
|
import { Hyperlink } from '@edx/paragon';
|
||||||
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
|
||||||
@@ -12,7 +13,7 @@ function ConfirmationAlert(props) {
|
|||||||
|
|
||||||
const technicalSupportLink = (
|
const technicalSupportLink = (
|
||||||
<Hyperlink
|
<Hyperlink
|
||||||
destination="https://support.edx.org/hc/en-us/articles/206212088-What-if-I-did-not-receive-a-password-reset-message-"
|
destination={getConfig().PASSWORD_RESET_SUPPORT_LINK}
|
||||||
>
|
>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id="account.settings.editable.field.password.reset.button.confirmation.support.link"
|
id="account.settings.editable.field.password.reset.button.confirmation.support.link"
|
||||||
|
|||||||
@@ -68,6 +68,7 @@ initialize({
|
|||||||
ENABLE_COPPA_COMPLIANCE: (process.env.ENABLE_COPPA_COMPLIANCE || false),
|
ENABLE_COPPA_COMPLIANCE: (process.env.ENABLE_COPPA_COMPLIANCE || false),
|
||||||
ENABLE_DOB_UPDATE: (process.env.ENABLE_DOB_UPDATE || false),
|
ENABLE_DOB_UPDATE: (process.env.ENABLE_DOB_UPDATE || false),
|
||||||
MARKETING_EMAILS_OPT_IN: (process.env.MARKETING_EMAILS_OPT_IN || false),
|
MARKETING_EMAILS_OPT_IN: (process.env.MARKETING_EMAILS_OPT_IN || false),
|
||||||
|
PASSWORD_RESET_SUPPORT_LINK: process.env.PASSWORD_RESET_SUPPORT_LINK,
|
||||||
}, 'App loadConfig override handler');
|
}, 'App loadConfig override handler');
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user