Submit empty string username when on phone number login
parent
f5353fcdc5
commit
c51255da40
|
@ -71,7 +71,7 @@ class PasswordLogin extends React.Component {
|
||||||
ev.preventDefault();
|
ev.preventDefault();
|
||||||
if (this.state.loginType === PasswordLogin.LOGIN_FIELD_PHONE) {
|
if (this.state.loginType === PasswordLogin.LOGIN_FIELD_PHONE) {
|
||||||
this.props.onSubmit(
|
this.props.onSubmit(
|
||||||
this.state.username,
|
'',
|
||||||
this.state.phoneCountry,
|
this.state.phoneCountry,
|
||||||
this.state.phoneNumber,
|
this.state.phoneNumber,
|
||||||
this.state.password,
|
this.state.password,
|
||||||
|
|
Loading…
Reference in New Issue