mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-27 07:28:27 +00:00
parent
3b0774805c
commit
f06637435b
1 changed files with 2 additions and 4 deletions
|
@ -41,15 +41,13 @@ 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
|
||||||
|
|
Loading…
Reference in a new issue