Merge pull request #2673 from jryans/username-label
Clarify what the username error refers to
This commit is contained in:
commit
b6682c0469
3 changed files with 3 additions and 3 deletions
|
@ -115,7 +115,7 @@ export default React.createClass({
|
|||
// user ID roughly looks okay from a Matrix perspective.
|
||||
if (!SAFE_LOCALPART_REGEX.test(this.state.username)) {
|
||||
this.setState({
|
||||
usernameError: _t("Only use lower case letters, numbers and '=_-./'"),
|
||||
usernameError: _t("A username can only contain lower case letters, numbers and '=_-./'"),
|
||||
});
|
||||
return Promise.reject();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue