diff --git a/server/auth/gitlab/gitlab.go b/server/auth/gitlab/gitlab.go index ec735c529cadb2535562da362b8029f686297817..f76b2e8d75044265371cd2686d9c0202c57c7558 100644 --- a/server/auth/gitlab/gitlab.go +++ b/server/auth/gitlab/gitlab.go @@ -26,7 +26,7 @@ type Config struct { } // New creates a new Gitlab provider from a configuration. -func New(c *config.Auth) (auth.Provider, error) { +func New(c *config.Auth) (*Config, error) { uw := make(map[string]bool) for _, u := range c.UsersWhitelist { uw[u] = true