Skip to main content

CSRF_HEADER

Constant CSRF_HEADER 

Source
pub const CSRF_HEADER: &str = "X-CSRF-Token";
Expand description

Default CSRF request header name used by compatibility helpers.

Prefer CsrfTokenNames when a product can share a browser origin with another Aster service.