Authn: Add missing jwt auth stat (#64127)

add missing jwt auth stat
This commit is contained in:
Jo 2023-03-03 12:39:08 +00:00 committed by GitHub
parent 9765c98b3d
commit 92f47e72e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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