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