Submit empty string username when on phone number login

pull/21833/head
Luke Barnard 2017-06-23 14:34:19 +01:00
parent f5353fcdc5
commit c51255da40
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ class PasswordLogin extends React.Component {
ev.preventDefault();
if (this.state.loginType === PasswordLogin.LOGIN_FIELD_PHONE) {
this.props.onSubmit(
this.state.username,
'',
this.state.phoneCountry,
this.state.phoneNumber,
this.state.password,