From 92f47e72e19bb9851240c71233be3ea3d6028466 Mon Sep 17 00:00:00 2001 From: Jo Date: Fri, 3 Mar 2023 12:39:08 +0000 Subject: [PATCH] Authn: Add missing jwt auth stat (#64127) add missing jwt auth stat --- pkg/services/authn/authnimpl/usage_stats.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/services/authn/authnimpl/usage_stats.go b/pkg/services/authn/authnimpl/usage_stats.go index 1dd9f1d36c0..6ca1086a259 100644 --- a/pkg/services/authn/authnimpl/usage_stats.go +++ b/pkg/services/authn/authnimpl/usage_stats.go @@ -16,6 +16,7 @@ func (s *Service) getUsageStats(ctx context.Context) (map[string]interface{}, er authTypes["ldap"] = s.cfg.LDAPEnabled authTypes["auth_proxy"] = s.cfg.AuthProxyEnabled authTypes["anonymous"] = s.cfg.AnonymousEnabled + authTypes["jwt"] = s.cfg.JWTAuthEnabled for authType, enabled := range authTypes { enabledValue := 0