Allow registration to submit for non-fatal errors

This allows you to proceed with registration even if the IS is down, for
example.

Fixes https://github.com/vector-im/riot-web/issues/10018
This commit is contained in:
J. Ryan Stinnett 2019-06-11 18:01:27 +01:00
parent 3836a3e2e2
commit b8ed731c89

View file

@ -486,7 +486,7 @@ module.exports = React.createClass({
onEditServerDetailsClick={onEditServerDetailsClick}
flows={this.state.flows}
serverConfig={this.props.serverConfig}
canSubmit={this.state.serverIsAlive && !this.state.serverErrorIsFatal}
canSubmit={!this.state.serverErrorIsFatal}
/>;
}
},