Auth: Separate anonymous settings to its own struct (#97791)

separate anonymous settings to its own struct
This commit is contained in:
Jo
2024-12-13 10:46:27 +01:00
committed by GitHub
parent fc7805957e
commit 40d3b02648
18 changed files with 75 additions and 53 deletions
+1 -1
View File
@@ -182,5 +182,5 @@ func getQuotaHandler(reached bool, target string) web.Handler {
}
func configure(cfg *setting.Cfg) {
cfg.AnonymousEnabled = false
cfg.Anonymous.Enabled = false
}