aboutsummaryrefslogtreecommitdiff
path: root/server/auth
diff options
context:
space:
mode:
authorNiall Sheridan <nsheridan@gmail.com>2016-04-21 22:25:38 +0100
committerNiall Sheridan <nsheridan@gmail.com>2016-04-21 22:25:38 +0100
commit8a048f0c1de51e1988947ecfc5682eab912dcb66 (patch)
tree029df6c57bb9cede5696b686b375eb1cca625fc3 /server/auth
parent8920c2af029a930bf904685c606285da17de9e9d (diff)
Just make ProviderOpts a map[string]string.
I have no idea why I made it a map[string]interface{} and it's a pain to deal with.
Diffstat (limited to 'server/auth')
-rw-r--r--server/auth/google/google.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/auth/google/google.go b/server/auth/google/google.go
index 231312b..cf780f3 100644
--- a/server/auth/google/google.go
+++ b/server/auth/google/google.go
@@ -35,7 +35,7 @@ func New(c *config.Auth) auth.Provider {
Endpoint: google.Endpoint,
Scopes: []string{googleapi.UserinfoEmailScope, googleapi.UserinfoProfileScope},
},
- domain: c.ProviderOpts["domain"].(string),
+ domain: c.ProviderOpts["domain"],
}
}