浏览代码

Merge pull request #13992 from grafana/auth_proxy_headers_default

add auth.proxy headers to default.ini
Torkel Ödegaard 7 年之前
父节点
当前提交
7de07eb096
共有 2 个文件被更改,包括 2 次插入0 次删除
  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]