mirror of
https://github.com/matrix-org/dendrite.git
synced 2026-01-21 04:53:14 -06:00
Add LoginTypeApplicationService to GET /login
Signed-off-by: Sijmen <me@sijman.nl> Signed-off-by: Sijmen Schoon <me@sijman.nl>
This commit is contained in:
parent
c335f6d350
commit
df6cd1a77e
|
|
@ -46,6 +46,12 @@ func passwordLogin() flows {
|
||||||
f.Flows = append(f.Flows, flow{
|
f.Flows = append(f.Flows, flow{
|
||||||
Type: authtypes.LoginTypePassword,
|
Type: authtypes.LoginTypePassword,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// TODO: Add config option to disable
|
||||||
|
f.Flows = append(f.Flows, flow{
|
||||||
|
Type: authtypes.LoginTypeApplicationService,
|
||||||
|
})
|
||||||
|
|
||||||
return f
|
return f
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue