diff options
Diffstat (limited to 'cmd/cashierd')
-rw-r--r-- | cmd/cashierd/main.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/cashierd/main.go b/cmd/cashierd/main.go index 95cf194..7277773 100644 --- a/cmd/cashierd/main.go +++ b/cmd/cashierd/main.go @@ -30,6 +30,7 @@ import ( "github.com/nsheridan/cashier/lib" "github.com/nsheridan/cashier/server/auth" "github.com/nsheridan/cashier/server/auth/github" + "github.com/nsheridan/cashier/server/auth/gitlab" "github.com/nsheridan/cashier/server/auth/google" "github.com/nsheridan/cashier/server/config" "github.com/nsheridan/cashier/server/signer" @@ -379,6 +380,8 @@ func main() { authprovider, err = google.New(conf.Auth) case "github": authprovider, err = github.New(conf.Auth) + case "gitlab": + authprovider, err = gitlab.New(conf.Auth) default: log.Fatalf("Unknown provider %s\n", conf.Auth.Provider) } |