Remove globalOpenIDConfig (#16708)

This commit is contained in:
Aditya Manthramurthy
2023-02-25 21:01:37 -08:00
committed by GitHub
parent b49b39e99d
commit 9ed4fc9687
7 changed files with 16 additions and 18 deletions

View File

@@ -605,7 +605,7 @@ func (c *SiteReplicationSys) GetIDPSettings(ctx context.Context) madmin.IDPSetti
LDAPGroupSearchBase: globalIAMSys.LDAPConfig.LDAP.GroupSearchBaseDistName,
LDAPGroupSearchFilter: globalIAMSys.LDAPConfig.LDAP.GroupSearchFilter,
}
s.OpenID = globalOpenIDConfig.GetSettings()
s.OpenID = globalIAMSys.OpenIDConfig.GetSettings()
if s.OpenID.Enabled {
s.OpenID.Region = globalSite.Region
}