diff options
Diffstat (limited to 'modules/auth/openid/discovery_cache.go')
-rw-r--r-- | modules/auth/openid/discovery_cache.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/auth/openid/discovery_cache.go b/modules/auth/openid/discovery_cache.go index cf9f5ae70c..68cd7a8756 100644 --- a/modules/auth/openid/discovery_cache.go +++ b/modules/auth/openid/discovery_cache.go @@ -18,7 +18,7 @@ type timedDiscoveredInfo struct { type timedDiscoveryCache struct { cache map[string]timedDiscoveredInfo - ttl time.Duration + ttl time.Duration mutex *sync.Mutex } @@ -56,4 +56,3 @@ func (s *timedDiscoveryCache) Get(id string) openid.DiscoveredInfo { } return nil } - |