mirror of
https://github.com/1f349/dendrite.git
synced 2024-12-22 16:24:10 +00:00
parent
3b0774805c
commit
f06637435b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user