Sfoglia il codice sorgente

Merge pull request #13992 from grafana/auth_proxy_headers_default

add auth.proxy headers to default.ini
Torkel Ödegaard 7 anni fa
parent
commit
7de07eb096
2 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 1 0
      conf/defaults.ini
  2. 1 0
      conf/sample.ini

+ 1 - 0
conf/defaults.ini

@@ -344,6 +344,7 @@ header_property = username
 auto_sign_up = true
 ldap_sync_ttl = 60
 whitelist =
+headers =
 
 #################################### Auth LDAP ###########################
 [auth.ldap]

+ 1 - 0
conf/sample.ini

@@ -294,6 +294,7 @@ log_queries =
 ;auto_sign_up = true
 ;ldap_sync_ttl = 60
 ;whitelist = 192.168.1.1, 192.168.2.1
+;headers = Email:X-User-Email, Name:X-User-Name
 
 #################################### Basic Auth ##########################
 [auth.basic]