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
pull/21833/head
J. Ryan Stinnett 2019-06-11 18:01:27 +01:00
parent 3836a3e2e2
commit b8ed731c89
1 changed files with 1 additions and 1 deletions

View File

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