mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:55:00 +08:00
resolve -> reject because semantics.
This commit is contained in:
parent
f310d4446c
commit
62af06104d
@ -112,7 +112,7 @@ export default React.createClass({
|
||||
this.setState({
|
||||
usernameError: _t('User names may only contain letters, numbers, dots, hyphens and underscores.'),
|
||||
});
|
||||
return Promise.resolve();
|
||||
return Promise.reject();
|
||||
}
|
||||
|
||||
// Check if username is available
|
||||
|
Loading…
Reference in New Issue
Block a user