Explorar o código

SEC-2463: CSRF documentation includes EnableWebMvcSecurity

Rob Winch %!s(int64=11) %!d(string=hai) anos
pai
achega
b5f5665ea6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      docs/manual/src/asciidoc/index.adoc

+ 1 - 1
docs/manual/src/asciidoc/index.adoc

@@ -3140,7 +3140,7 @@ The last step is to ensure that you include the CSRF token in all PATCH, POST, P
 
 [NOTE]
 ====
-If you are using Spring MVC <form:form> tag or http://www.thymeleaf.org/whatsnew21.html#reqdata[Thymeleaf 2.1+], the `CsrfToken` is automatically included for you using the `CsrfRequestDataValueProcessor`.
+If you are using Spring MVC <form:form> tag or http://www.thymeleaf.org/whatsnew21.html#reqdata[Thymeleaf 2.1+], the `CsrfToken` is automatically included for you if you replace `@EnableWebSecurity` with `@EnableWebMvcSecurity` using the `CsrfRequestDataValueProcessor`.
 ====
 
 [[csrf-include-csrf-token-ajax]]