作者 若依
提交者 Gitee

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

Merge pull request !74 from Lyy/N/A
@@ -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()