You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-15 11:01:52 +03:00
Add m.login.terms to the ILAG-compatible flows
Otherwise we get "Registration Required" instead of "Pick a username" Part of https://github.com/vector-im/riot-web/issues/7700
This commit is contained in:
@ -45,7 +45,7 @@ export async function startAnyRegistrationFlow(options) {
|
||||
// caution though.
|
||||
const hasIlagFlow = flows.some((flow) => {
|
||||
return flow.stages.every((stage) => {
|
||||
return ['m.login.dummy', 'm.login.recaptcha'].includes(stage);
|
||||
return ['m.login.dummy', 'm.login.recaptcha', 'm.login.terms'].includes(stage);
|
||||
});
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user