add comment
This commit is contained in:
parent
826efeaeaa
commit
4e6f1e6294
1 changed files with 1 additions and 0 deletions
|
@ -224,6 +224,7 @@ export default class Registration extends React.Component<IProps, IState> {
|
||||||
flows: e.data.flows,
|
flows: e.data.flows,
|
||||||
});
|
});
|
||||||
} else if (e.httpStatus === 403 || e.errcode === "M_FORBIDDEN") {
|
} else if (e.httpStatus === 403 || e.errcode === "M_FORBIDDEN") {
|
||||||
|
// Check for 403 or M_FORBIDDEN, Synapse used to send 403 M_UNKNOWN but now sends 403 M_FORBIDDEN.
|
||||||
// At this point registration is pretty much disabled, but before we do that let's
|
// At this point registration is pretty much disabled, but before we do that let's
|
||||||
// quickly check to see if the server supports SSO instead. If it does, we'll send
|
// quickly check to see if the server supports SSO instead. If it does, we'll send
|
||||||
// the user off to the login page to figure their account out.
|
// the user off to the login page to figure their account out.
|
||||||
|
|
Loading…
Reference in a new issue