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:
Sijmen Schoon 2023-01-06 23:14:58 +01:00 committed by KuhnChris
parent 56f6ad1362
commit 4899bdb663

View file

@ -47,6 +47,12 @@ func passwordLogin() flows {
f.Flows = append(f.Flows, flow{
Type: authtypes.LoginTypePassword,
})
// TODO: Add config option to disable
f.Flows = append(f.Flows, flow{
Type: authtypes.LoginTypeApplicationService,
})
return f
}