From e3bf4a0b8e9208725502f179f79f1badd5678acf Mon Sep 17 00:00:00 2001 From: David Baker Date: Mon, 17 Jun 2019 16:27:35 +0100 Subject: [PATCH] Re-enable register button on change to working HS Register button disabling is done via serverErrorIsFatal so we need to reset this on a successful validation. https://github.com/vector-im/riot-web/issues/10029 --- src/components/structures/auth/Registration.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/structures/auth/Registration.js b/src/components/structures/auth/Registration.js index 1957275505..20b13e4da9 100644 --- a/src/components/structures/auth/Registration.js +++ b/src/components/structures/auth/Registration.js @@ -180,7 +180,10 @@ module.exports = React.createClass({ serverConfig.hsUrl, serverConfig.isUrl, ); - this.setState({serverIsAlive: true}); + this.setState({ + serverIsAlive: true, + serverErrorIsFatal: false, + }); } catch (e) { this.setState({ busy: false,