فهرست منبع

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: