Security --> SecurityForm

merge-requests/45/head
Alex Gleason 4 years ago
parent ab280b80e1
commit f99d1300c2
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7

@ -22,7 +22,7 @@ const messages = defineMessages({
export default @connect()
@injectIntl
class Security extends ImmutablePureComponent {
class SecurityForm extends ImmutablePureComponent {
static propTypes = {
email: PropTypes.string,

@ -72,7 +72,7 @@ import {
Preferences,
EditProfile,
PasswordReset,
Security,
SecurityForm,
} from './util/async-components';
// Dummy import, to make sure that <Status /> ends up in the application bundle.
@ -195,7 +195,7 @@ class SwitchingColumnsArea extends React.PureComponent {
<Switch>
<WrappedRoute path='/auth/sign_in' component={LoginPage} 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='/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');
}
export function Security() {
export function SecurityForm() {
return import(/* webpackChunkName: "features/security" */'../../security');
}

Loading…
Cancel
Save