瀏覽代碼

SEC-2875: Fix typo in hellomvc guide

izeye 10 年之前
父節點
當前提交
58be282f70
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      docs/guides/src/asciidoc/hellomvc.asc

+ 1 - 1
docs/guides/src/asciidoc/hellomvc.asc

@@ -111,7 +111,7 @@ We can view the user name, but how are we able to log out? Below you can see how
 </form>
 ----
 
-If you try to log out right now the request will fail. The reason is that Spring Security is protecting against CSRF attakcks and there is no CSRF token include in our request. Update our configuration to use the `@EnableWebMvcSecurity` annotation which will do the same as `@EnableWebMvcSecurity` and provide integration with Spring MVC. Among other things, it will ensure our CSRF Token is included in our forms automatically when using Thymleaf 2.1+ or Spring MVC taglibs.
+If you try to log out right now the request will fail. The reason is that Spring Security is protecting against CSRF attacks and there is no CSRF token include in our request. Update our configuration to use the `@EnableWebMvcSecurity` annotation which will do the same as `@EnableWebSecurity` and provide integration with Spring MVC. Among other things, it will ensure our CSRF Token is included in our forms automatically when using Thymleaf 2.1+ or Spring MVC taglibs.
 
 .src/main/java/org/springframework/security/samples/config/SecurityConfig.java
 [source,java]