From f06637435b2124c89dfdd96cd723f54cc7055602 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Wed, 2 Sep 2020 16:52:06 +0100 Subject: [PATCH] Fix #1381 (#1384) --- clientapi/routing/login.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/clientapi/routing/login.go b/clientapi/routing/login.go index d2bc9337d..772775aa0 100644 --- a/clientapi/routing/login.go +++ b/clientapi/routing/login.go @@ -41,15 +41,13 @@ type flows struct { } type flow struct { - Type string `json:"type"` - Stages []string `json:"stages"` + Type string `json:"type"` } func passwordLogin() flows { f := flows{} s := flow{ - Type: "m.login.password", - Stages: []string{"m.login.password"}, + Type: "m.login.password", } f.Flows = append(f.Flows, s) return f