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

Merge pull request !74 from Lyy/N/A
This commit is contained in:
若依 2020-08-18 17:30:18 +08:00 committed by Gitee
commit c89722a7dd

View File

@ -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()