Browse Source

Fix typo in reactive CSRF docs

pull/9454/head
Eleftheria Stein 5 years ago
parent
commit
c836c716fe
  1. 2
      docs/manual/src/docs/asciidoc/_includes/reactive/exploits/csrf.adoc

2
docs/manual/src/docs/asciidoc/_includes/reactive/exploits/csrf.adoc

@ -32,7 +32,7 @@ For example, it might be desirable to persist the `CsrfToken` in a cookie to <<w @@ -32,7 +32,7 @@ For example, it might be desirable to persist the `CsrfToken` in a cookie to <<w
By default the `CookieServerCsrfTokenRepository` will write to a cookie named `XSRF-TOKEN` and read it from a header named `X-XSRF-TOKEN` or the HTTP parameter `_csrf`.
These defaults come from https://docs.angularjs.org/api/ng/service/$http#cross-site-request-forgery-xsrf-protection[AngularJS]
You can configure `CookieCsrfTokenRepository` in Java Configuration using:
You can configure `CookieServerCsrfTokenRepository` in Java Configuration using:
.Store CSRF Token in a Cookie
====

Loading…
Cancel
Save