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

Lowercase all usernames
pull/21833/head
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
1 changed files with 1 additions and 1 deletions

View File

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