pub fn ensure_double_submit_token(req: &HttpRequest) -> Result<()>Expand description
Ensures an Actix request contains matching CSRF cookie and header values.
This uses default_csrf_token_names. Prefer ensure_double_submit_token_with_names in
products that can run beside another Aster service on the same browser origin.