Make registration work without an IS.

This commit is contained in:
David Baker 2019-08-07 11:15:56 +01:00
parent ba3e9e3f84
commit 366f7e277a
4 changed files with 57 additions and 16 deletions

View file

@ -210,7 +210,7 @@ export default class ServerConfig extends React.PureComponent {
<Field id="mx_ServerConfig_isUrl"
label={_t("Identity Server URL")}
placeholder={this.props.serverConfig.isUrl}
value={this.state.isUrl}
value={this.state.isUrl || ''}
onBlur={this.onIdentityServerBlur}
onChange={this.onIdentityServerChange}
disabled={this.state.busy}