add glauth fallback backend
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user