mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 01:35:49 +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:
parent
7dd906620e
commit
fe27fae80f
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
});
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue