Merge pull request #4575 from matrix-org/t3chguy/registration_disabled_prompt_server
Prompt user to specify an alternate server if theirs has registration offpull/21833/head
commit
ad2c9df271
|
@ -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: [],
|
||||||
|
|
Loading…
Reference in New Issue