add glauth fallback backend

Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
Jörn Friedrich Dreyer
2020-10-06 16:39:05 +02:00
parent f10950d6e8
commit cbbfeec35b
15 changed files with 501 additions and 801 deletions
+4
View File
@@ -18,6 +18,10 @@ func GLAuthCommand(cfg *config.Config) *cli.Command {
Category: "Extensions",
Flags: flagset.ServerWithConfig(cfg.GLAuth),
Action: func(c *cli.Context) error {
cfg.GLAuth.Backend.Servers = c.StringSlice("backend-server")
cfg.GLAuth.Fallback.Servers = c.StringSlice("fallback-server")
scfg := configureGLAuth(cfg)
return cli.HandleAction(