Merge pull request #1547 from matrix-org/dbkr/username_to_lower

Lowercase all usernames
This commit is contained in:
Luke Barnard
2017-10-27 18:01:32 +01:00
committed by GitHub

View File

@@ -302,7 +302,7 @@ module.exports = React.createClass({
} : {};
return this._matrixClient.register(
this.state.formVals.username,
this.state.formVals.username.toLowerCase(),
this.state.formVals.password,
undefined, // session id: included in the auth dict already
auth,