You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-10 09:22:25 +03:00
Prompt user to specify an alternate server if their chosen one has registration disabled
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
@@ -267,6 +267,7 @@ export default createReactClass({
|
|||||||
dis.dispatch({action: 'start_login'});
|
dis.dispatch({action: 'start_login'});
|
||||||
} else {
|
} else {
|
||||||
this.setState({
|
this.setState({
|
||||||
|
serverErrorIsFatal: true, // fatal because user cannot continue on this server
|
||||||
errorText: _t("Registration has been disabled on this homeserver."),
|
errorText: _t("Registration has been disabled on this homeserver."),
|
||||||
// add empty flows array to get rid of spinner
|
// add empty flows array to get rid of spinner
|
||||||
flows: [],
|
flows: [],
|
||||||
|
|||||||
Reference in New Issue
Block a user