diff --git a/src/components/views/auth/RegistrationForm.js b/src/components/views/auth/RegistrationForm.js index 68e0a4b99a..a226d29e6a 100644 --- a/src/components/views/auth/RegistrationForm.js +++ b/src/components/views/auth/RegistrationForm.js @@ -447,7 +447,8 @@ module.exports = React.createClass({ _showPhoneNumber() { const threePidLogin = !SdkConfig.get().disable_3pid_login; const haveIs = Boolean(this.props.serverConfig.isUrl); - if (!threePidLogin || (this.props.serverRequiresIdServer && !haveIs) || !this._authStepIsUsed('m.login.msisdn')) { + const haveRequiredIs = this.props.serverRequiresIdServer && !haveIs; + if (!threePidLogin || haveRequiredIs || !this._authStepIsUsed('m.login.msisdn')) { return false; } return true;