From 8a048f0c1de51e1988947ecfc5682eab912dcb66 Mon Sep 17 00:00:00 2001 From: Niall Sheridan Date: Thu, 21 Apr 2016 22:25:38 +0100 Subject: 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. --- server/auth/google/google.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/auth/google') 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"], } } -- cgit v1.2.3