You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-11 20:22:36 +03:00
hopefully fix NPE on toLowerCase
This commit is contained in:
@@ -303,7 +303,9 @@ module.exports = React.createClass({
|
||||
} : {};
|
||||
|
||||
return this._matrixClient.register(
|
||||
this.state.formVals.username.toLowerCase(),
|
||||
(this.state.formVals.username ?
|
||||
this.state.formVals.username.toLowerCase() :
|
||||
this.state.formVals.username),
|
||||
this.state.formVals.password,
|
||||
undefined, // session id: included in the auth dict already
|
||||
auth,
|
||||
|
||||
Reference in New Issue
Block a user