This commit is contained in:
Neil Alexander 2020-09-02 16:24:38 +01:00
parent 3b0774805c
commit 0f241632fe
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944

View file

@ -42,14 +42,12 @@ type flows struct {
type flow struct { type flow struct {
Type string `json:"type"` Type string `json:"type"`
Stages []string `json:"stages"`
} }
func passwordLogin() flows { func passwordLogin() flows {
f := flows{} f := flows{}
s := flow{ s := flow{
Type: "m.login.password", Type: "m.login.password",
Stages: []string{"m.login.password"},
} }
f.Flows = append(f.Flows, s) f.Flows = append(f.Flows, s)
return f return f