committed by
GitHub
parent
4571d35102
commit
4dd12f6230
@@ -45,7 +45,6 @@ import messages from './messages';
|
||||
class LoginPage extends React.Component {
|
||||
constructor(props, context) {
|
||||
super(props, context);
|
||||
sendPageEvent('login_and_registration', 'login');
|
||||
this.state = {
|
||||
password: this.props.loginFormData.password,
|
||||
emailOrUsername: this.props.loginFormData.emailOrUsername,
|
||||
@@ -60,6 +59,7 @@ class LoginPage extends React.Component {
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
sendPageEvent('login_and_registration', 'login');
|
||||
const payload = { ...this.queryParams };
|
||||
|
||||
if (this.tpaHint) {
|
||||
|
||||
@@ -62,7 +62,6 @@ import { getLevenshteinSuggestion, getSuggestionForInvalidEmail } from './utils'
|
||||
class RegistrationPage extends React.Component {
|
||||
constructor(props, context) {
|
||||
super(props, context);
|
||||
sendPageEvent('login_and_registration', 'register');
|
||||
this.handleOnClose = this.handleOnClose.bind(this);
|
||||
this.countryList = getCountryList(getLocale());
|
||||
this.queryParams = getAllPossibleQueryParam();
|
||||
@@ -99,6 +98,7 @@ class RegistrationPage extends React.Component {
|
||||
}
|
||||
|
||||
componentDidMount() {
|
||||
sendPageEvent('login_and_registration', 'register');
|
||||
const payload = { ...this.queryParams };
|
||||
window.optimizely = window.optimizely || [];
|
||||
window.optimizely.push({
|
||||
|
||||
Reference in New Issue
Block a user