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
commit 27083df0f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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,