mirror of
https://github.com/grafana/grafana.git
synced 2026-08-12 06:05:02 -05:00
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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user