Commit c89722a7dd9966f185fced9582d2cfe8343d2485

Authored by 若依
Committed by Gitee
2 parents 61e10f27 4f7702b2

!74 update ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java.

Merge pull request !74 from Lyy/N/A
ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java
@@ -88,7 +88,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter @@ -88,7 +88,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
88 protected void configure(HttpSecurity httpSecurity) throws Exception 88 protected void configure(HttpSecurity httpSecurity) throws Exception
89 { 89 {
90 httpSecurity 90 httpSecurity
91 - // CRSF禁用,因为不使用session 91 + // CSRF禁用,因为不使用session
92 .csrf().disable() 92 .csrf().disable()
93 // 认证失败处理类 93 // 认证失败处理类
94 .exceptionHandling().authenticationEntryPoint(unauthorizedHandler).and() 94 .exceptionHandling().authenticationEntryPoint(unauthorizedHandler).and()