Ver Fonte

SAML: add auth provider label (#18197)

Alexander Zobnin há 6 anos atrás
pai
commit
ccf11fb7a2
1 ficheiros alterados com 2 adições e 0 exclusões
  1. 2 0
      pkg/api/user.go

+ 2 - 0
pkg/api/user.go

@@ -335,6 +335,8 @@ func GetAuthProviderLabel(authModule string) string {
 		return "GitLab"
 	case "oauth_grafana_com", "oauth_grafananet":
 		return "grafana.com"
+	case "auth.saml":
+		return "SAML"
 	case "ldap", "":
 		return "LDAP"
 	default: