Merge pull request #1927 from rgarmsen2295/plt-1668

PLT-1668 Removes duplicate short username error message
Этот коммит содержится в:
Christopher Speller
2016-01-21 09:59:38 -05:00
родитель 2fdfdaeff7 76f0000565
Коммит 868eece987
9 изменённых файлов: 57 добавлений и 44 удалений

Просмотреть файл

@@ -47,7 +47,7 @@ export default class UserSettingsGeneralTab extends React.Component {
this.setState({clientError: 'This username is reserved, please choose a new one.'});
return;
} else if (usernameError) {
this.setState({clientError: "Username must begin with a letter, and contain between 3 to 15 lowercase characters made up of numbers, letters, and the symbols '.', '-' and '_'."});
this.setState({clientError: 'Username must begin with a letter, and contain between ' + Constants.MIN_USERNAME_LENGTH + ' to ' + Constants.MAX_USERNAME_LENGTH + " lowercase characters made up of numbers, letters, and the symbols '.', '-' and '_'."});
return;
}