mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-26 08:11:55 -06:00
parent
3b0774805c
commit
f06637435b
|
@ -42,14 +42,12 @@ type flows struct {
|
|||
|
||||
type flow struct {
|
||||
Type string `json:"type"`
|
||||
Stages []string `json:"stages"`
|
||||
}
|
||||
|
||||
func passwordLogin() flows {
|
||||
f := flows{}
|
||||
s := flow{
|
||||
Type: "m.login.password",
|
||||
Stages: []string{"m.login.password"},
|
||||
}
|
||||
f.Flows = append(f.Flows, s)
|
||||
return f
|
||||
|
|
Loading…
Reference in a new issue