Add check so that header is not sent for anonymous users

This commit is contained in:
Andrej Ocenas
2019-03-14 16:28:32 +01:00
parent 6587a967eb
commit 697a87b7b2
7 changed files with 32 additions and 5 deletions

View File

@@ -157,7 +157,7 @@ logging = false
# How long the data proxy should wait before timing out default is 30 (seconds)
timeout = 30
# If enabled data proxy will add X-Grafana-User header with username into the request, default is false.
# If enabled and user is not anonymous, data proxy will add X-Grafana-User header with username into the request, default is false.
send_user_header = false
#################################### Analytics ###########################

View File

@@ -144,7 +144,7 @@ log_queries =
# How long the data proxy should wait before timing out default is 30 (seconds)
;timeout = 30
# If enabled data proxy will add X-Grafana-User header with username into the request, default is false.
# If enabled and user is not anonymous, data proxy will add X-Grafana-User header with username into the request, default is false.
;send_user_header = false
#################################### Analytics ####################################