فهرست منبع

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
 auto_sign_up = true
 ldap_sync_ttl = 60
 ldap_sync_ttl = 60
 whitelist =
 whitelist =
+headers =
 
 
 #################################### Auth LDAP ###########################
 #################################### Auth LDAP ###########################
 [auth.ldap]
 [auth.ldap]

+ 1 - 0
conf/sample.ini

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