瀏覽代碼

update ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java.
修改注释,CRSF禁用

Lyy 4 年之前
父節點
當前提交
4f7702b22a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java

+ 1 - 1
ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java

@@ -88,7 +88,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
     protected void configure(HttpSecurity httpSecurity) throws Exception
     {
         httpSecurity
-                // CRSF禁用,因为不使用session
+                // CSRF禁用,因为不使用session
                 .csrf().disable()
                 // 认证失败处理类
                 .exceptionHandling().authenticationEntryPoint(unauthorizedHandler).and()