Chore: remove DisableSyncLock setting, as it's not used anymore (#72680)

* rmeove DisableSyncLock setting, as it's not used anymore

* remove unused import
This commit is contained in:
Ieva
2023-08-01 17:38:07 +03:00
committed by GitHub
parent 91c7096eda
commit 1fa4f4bc57
5 changed files with 8 additions and 13 deletions
-1
View File
@@ -17,7 +17,6 @@ type FrontendSettingsAuthDTO struct {
GithubSkipOrgRoleSync bool `json:"GithubSkipOrgRoleSync"`
GitLabSkipOrgRoleSync bool `json:"GitLabSkipOrgRoleSync"`
OktaSkipOrgRoleSync bool `json:"OktaSkipOrgRoleSync"`
DisableSyncLock bool `json:"DisableSyncLock"`
AuthProxyEnableLoginToken bool `json:"AuthProxyEnableLoginToken"`
}
-1
View File
@@ -165,7 +165,6 @@ func (hs *HTTPServer) getFrontendSettings(c *contextmodel.ReqContext) (*dtos.Fro
GithubSkipOrgRoleSync: hs.Cfg.GitHubSkipOrgRoleSync,
GitLabSkipOrgRoleSync: hs.Cfg.GitLabSkipOrgRoleSync,
OktaSkipOrgRoleSync: hs.Cfg.OktaSkipOrgRoleSync,
DisableSyncLock: hs.Cfg.DisableSyncLock,
AuthProxyEnableLoginToken: hs.Cfg.AuthProxyEnableLoginToken,
},