EditProfile: Remove display name limits, redirect /user-settings

This commit is contained in:
Alex Gleason
2020-06-13 10:16:43 -05:00
parent b4532ccb40
commit 5ea6aaf48e
2 changed files with 2 additions and 3 deletions

View File

@ -170,8 +170,6 @@ class EditProfile extends ImmutablePureComponent {
label={<FormattedMessage id='edit_profile.fields.display_name_label' defaultMessage='Display name' />}
name='display_name'
value={this.state.display_name}
maxLength={30}
size={30}
onChange={this.handleTextChange}
/>
<TextInput

View File

@ -213,11 +213,12 @@ class SwitchingColumnsArea extends React.PureComponent {
<WrappedRoute path='/groups/:id' page={GroupPage} component={GroupTimeline} content={children} />
*/}
{/* Redirects for non-static Pleroma FE config*/}
{/* Redirects from Pleroma FE, etc. to fix old bookmarks */}
<Redirect from='/main/all' to='/timeline/fediverse' />
<Redirect from='/main/public' to='/timeline/local' />
<Redirect from='/main/friends' to='/' />
<Redirect from='/tag/:id' to='/tags/:id' />
<Redirect from='/user-settings' to='/settings/profile' />
<WrappedRoute path='/notice/:statusId' publicRoute exact layout={LAYOUT.STATUS} component={Status} content={children} />
<Redirect from='/users/:username' to='/@:username' />
<Redirect from='/home' to='/' />