mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-10 08:23:11 -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
56f6ad1362
commit
4899bdb663
|
|
@ -47,6 +47,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