mirror of
https://github.com/grafana/grafana.git
synced 2026-08-26 21:37:31 -05:00
CSRF middleware: Add flag to skip login cookie check (#66806)
* CSRF middleware: add flag to skip login cookie check * Update docs/sources/setup-grafana/configure-grafana/_index.md Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com> --------- Co-authored-by: Christopher Moyer <35463610+chri2547@users.noreply.github.com>
This commit is contained in:
co-authored by
Christopher Moyer
parent
5f16cd5124
commit
d4715a6f04
@@ -679,6 +679,10 @@ List of additional allowed URLs to pass by the CSRF check. Suggested when authen
|
||||
|
||||
List of allowed headers to be set by the user. Suggested to use for if authentication lives behind reverse proxies.
|
||||
|
||||
### csrf_always_check
|
||||
|
||||
Set to `true` to execute the CSRF check even if the login cookie is not in a request (default `false`).
|
||||
|
||||
## [snapshots]
|
||||
|
||||
### enabled
|
||||
|
||||
Reference in New Issue
Block a user