소스 검색

SAML: add auth provider label (#18197)

Alexander Zobnin 6 년 전
부모
커밋
ccf11fb7a2
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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: