aboutsummaryrefslogtreecommitdiff
path: root/server/config
diff options
context:
space:
mode:
authorMarco Bonetti <marco@intercom.io>2016-06-10 14:11:54 +0100
committerMarco Bonetti <marco@intercom.io>2016-06-14 09:26:29 +0100
commita03243a826bb4eb5eebad19133f6b15e2f5dfdc2 (patch)
treebedda3934ce501a32f2f13b00b1929e458170cc7 /server/config
parentc074b8694f28ab6b3cc1ccb31474cfa507f73e81 (diff)
Add support for a users whitelist
Diffstat (limited to 'server/config')
-rw-r--r--server/config/config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/config/config.go b/server/config/config.go
index 648cf46..0ae1e60 100644
--- a/server/config/config.go
+++ b/server/config/config.go
@@ -40,6 +40,7 @@ type Auth struct {
OauthCallbackURL string `mapstructure:"oauth_callback_url"`
Provider string `mapstructure:"provider"`
ProviderOpts map[string]string `mapstructure:"provider_opts"`
+ UsersWhitelist []string `mapstructure:"users_whitelist"`
}
// SSH holds the configuration specific to signing ssh keys.