From fe27fae80f15a6b69fdbd650182756f06592d9e1 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Wed, 14 Nov 2018 17:59:24 -0700 Subject: [PATCH] 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 --- src/Registration.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Registration.js b/src/Registration.js index 070178fecb..f86c9cc618 100644 --- a/src/Registration.js +++ b/src/Registration.js @@ -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); }); });