Chore: Remove global setting var from azure ad oath (#35040)

* Remove global setting var from azure ad oath

* Remove more glob var from social

* Use GrafanaComURL from cfg
This commit is contained in:
idafurjes
2021-06-08 16:08:25 +02:00
committed by GitHub
parent 2cc172db1a
commit 1f5a28ec63
5 changed files with 37 additions and 27 deletions
+1 -1
View File
@@ -150,7 +150,7 @@ func (s *Server) init() error {
}
login.Init()
social.NewOAuthService()
social.NewOAuthService(s.cfg)
services := s.serviceRegistry.GetServices()
if err := s.buildServiceGraph(services); err != nil {