repo renamed from logistration to authn
This commit is contained in:
2
.env
2
.env
@@ -14,5 +14,5 @@ REFRESH_ACCESS_TOKEN_ENDPOINT=null
|
||||
SEGMENT_KEY=null
|
||||
SITE_NAME=null
|
||||
USER_INFO_COOKIE_NAME=null
|
||||
LOGISTRATION_MINIMAL_HEADER=true
|
||||
AUTHN_MINIMAL_HEADER=true
|
||||
LOGIN_ISSUE_SUPPORT_LINK=null
|
||||
|
||||
@@ -19,5 +19,5 @@ REFRESH_ACCESS_TOKEN_ENDPOINT='http://localhost:18000/login_refresh'
|
||||
SEGMENT_KEY=null
|
||||
SITE_NAME='edX'
|
||||
USER_INFO_COOKIE_NAME='edx-user-info'
|
||||
LOGISTRATION_MINIMAL_HEADER=true
|
||||
AUTHN_MINIMAL_HEADER=true
|
||||
LOGIN_ISSUE_SUPPORT_LINK=''
|
||||
|
||||
2
Makefile
2
Makefile
@@ -1,4 +1,4 @@
|
||||
transifex_resource = frontend-app-logistration
|
||||
transifex_resource = frontend-app-authn
|
||||
transifex_langs = "ar,fr,es_419,zh_CN"
|
||||
|
||||
transifex_utils = ./node_modules/.bin/transifex-utils.js
|
||||
|
||||
2
package-lock.json
generated
2
package-lock.json
generated
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "@edx/frontend-app-logistration",
|
||||
"name": "@edx/frontend-app-authn",
|
||||
"version": "0.1.0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
|
||||
@@ -24,14 +24,14 @@ $apple-focus-black: $apple-black;
|
||||
}
|
||||
}
|
||||
|
||||
.logistration-header {
|
||||
.authn-header {
|
||||
border-bottom: 1px solid #e7e7e7;
|
||||
height: 3.75rem;
|
||||
position: relative;
|
||||
z-index: 1000;
|
||||
}
|
||||
|
||||
.logistration-header img {
|
||||
.authn-header img {
|
||||
height: 1.75rem;
|
||||
margin-left: 2rem;
|
||||
padding: 1rem 0;
|
||||
|
||||
@@ -15,7 +15,7 @@ const ConfirmationAlert = (props) => {
|
||||
<Alert.Heading>{intl.formatMessage(messages['forgot.password.confirmation.title'])}</Alert.Heading>
|
||||
<p>
|
||||
<FormattedMessage
|
||||
id="logistration.forgot.password.confirmation.message"
|
||||
id="forgot.password.confirmation.message"
|
||||
defaultMessage="You entered {strongEmail}. If this email address is associated with your
|
||||
edX account, we will send a message with password recovery instructions to this email address."
|
||||
description="Forgot password confirmation message"
|
||||
|
||||
@@ -148,44 +148,6 @@ describe('./RegistrationPage.js', () => {
|
||||
});
|
||||
|
||||
it('send tracking event on optional checkbox enabled', () => {
|
||||
store = mockStore({
|
||||
...initialState,
|
||||
logistration: {
|
||||
...initialState.logistration,
|
||||
formData: {
|
||||
fields: [
|
||||
{
|
||||
label: 'Tell us why you\'re interested in edX',
|
||||
name: 'goals',
|
||||
type: 'textarea',
|
||||
required: false,
|
||||
},
|
||||
{
|
||||
label: 'Highest level of Education completed.',
|
||||
name: 'level_of_education',
|
||||
type: 'select',
|
||||
options: [{ value: '', name: '--' }, { value: 'p', name: 'Doctorate' }],
|
||||
required: false,
|
||||
},
|
||||
{
|
||||
label: 'Year of birth.',
|
||||
name: 'year_of_birth',
|
||||
type: 'select',
|
||||
options: [{ value: '', name: '--' }, { value: '2021', name: '2021' }],
|
||||
required: false,
|
||||
},
|
||||
{
|
||||
label: 'Gender.',
|
||||
name: 'gender',
|
||||
type: 'select',
|
||||
options: [{ value: '', name: '--' }, { value: 'f', name: 'Female' }],
|
||||
required: false,
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
const registrationPage = mount(reduxWrapper(<IntlRegistrationPage {...props} />));
|
||||
|
||||
registrationPage.find('input#optional').simulate('change', { target: { checked: true } });
|
||||
|
||||
Reference in New Issue
Block a user