aboutsummaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorNiall Sheridan <nsheridan@gmail.com>2017-01-25 23:32:40 +0000
committerNiall Sheridan <nsheridan@gmail.com>2017-01-25 23:32:40 +0000
commit326976d67282aa8bd8bedb1be958eeef7a013c51 (patch)
tree0aca9275edc8eca66321cadbc9106e030d52d4e5 /server
parentd518a32119e2587df02d1e0f21e9389c195308f6 (diff)
Return a concrete type
Diffstat (limited to 'server')
-rw-r--r--server/auth/gitlab/gitlab.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/auth/gitlab/gitlab.go b/server/auth/gitlab/gitlab.go
index ec735c5..f76b2e8 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