mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-18 06:35:35 +08:00
comment why we send the empty string
This commit is contained in:
parent
c51255da40
commit
ec36a348be
@ -71,7 +71,7 @@ class PasswordLogin extends React.Component {
|
||||
ev.preventDefault();
|
||||
if (this.state.loginType === PasswordLogin.LOGIN_FIELD_PHONE) {
|
||||
this.props.onSubmit(
|
||||
'',
|
||||
'', // XXX: Synapse breaks if you send null here:
|
||||
this.state.phoneCountry,
|
||||
this.state.phoneNumber,
|
||||
this.state.password,
|
||||
|
Loading…
Reference in New Issue
Block a user