Security --> SecurityForm
This commit is contained in:
parent
ab280b80e1
commit
f99d1300c2
3 changed files with 4 additions and 4 deletions
|
@ -22,7 +22,7 @@ const messages = defineMessages({
|
||||||
|
|
||||||
export default @connect()
|
export default @connect()
|
||||||
@injectIntl
|
@injectIntl
|
||||||
class Security extends ImmutablePureComponent {
|
class SecurityForm extends ImmutablePureComponent {
|
||||||
|
|
||||||
static propTypes = {
|
static propTypes = {
|
||||||
email: PropTypes.string,
|
email: PropTypes.string,
|
||||||
|
|
|
@ -72,7 +72,7 @@ import {
|
||||||
Preferences,
|
Preferences,
|
||||||
EditProfile,
|
EditProfile,
|
||||||
PasswordReset,
|
PasswordReset,
|
||||||
Security,
|
SecurityForm,
|
||||||
} from './util/async-components';
|
} from './util/async-components';
|
||||||
|
|
||||||
// Dummy import, to make sure that <Status /> ends up in the application bundle.
|
// Dummy import, to make sure that <Status /> ends up in the application bundle.
|
||||||
|
@ -195,7 +195,7 @@ class SwitchingColumnsArea extends React.PureComponent {
|
||||||
<Switch>
|
<Switch>
|
||||||
<WrappedRoute path='/auth/sign_in' component={LoginPage} publicRoute exact />
|
<WrappedRoute path='/auth/sign_in' component={LoginPage} publicRoute exact />
|
||||||
<WrappedRoute path='/auth/reset_password' component={PasswordReset} publicRoute exact />
|
<WrappedRoute path='/auth/reset_password' component={PasswordReset} publicRoute exact />
|
||||||
<WrappedRoute path='/auth/edit' component={Security} publicRoute exact />
|
<WrappedRoute path='/auth/edit' component={SecurityForm} publicRoute exact />
|
||||||
|
|
||||||
<WrappedRoute path='/' exact page={HomePage} component={HomeTimeline} content={children} />
|
<WrappedRoute path='/' exact page={HomePage} component={HomeTimeline} content={children} />
|
||||||
<WrappedRoute path='/timeline/local' exact page={HomePage} component={CommunityTimeline} content={children} />
|
<WrappedRoute path='/timeline/local' exact page={HomePage} component={CommunityTimeline} content={children} />
|
||||||
|
|
|
@ -178,6 +178,6 @@ export function PasswordReset() {
|
||||||
return import(/* webpackChunkName: "features/auth_login" */'../../auth_login/components/password_reset');
|
return import(/* webpackChunkName: "features/auth_login" */'../../auth_login/components/password_reset');
|
||||||
}
|
}
|
||||||
|
|
||||||
export function Security() {
|
export function SecurityForm() {
|
||||||
return import(/* webpackChunkName: "features/security" */'../../security');
|
return import(/* webpackChunkName: "features/security" */'../../security');
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue