瀏覽代碼

add 验证码

tags/V2.2.0
chenjiandong 2 年之前
父節點
當前提交
3b2a535249
共有 1 個檔案被更改,包括 0 行新增1 行删除
  1. +0
    -1
      tuoheng_oidc_server/src/main/java/com/tuoheng/config/SecurityConfig.java

+ 0
- 1
tuoheng_oidc_server/src/main/java/com/tuoheng/config/SecurityConfig.java 查看文件

@@ -87,7 +87,6 @@ public class SecurityConfig {
SecurityFilterChain defaultSecurityFilterChain(HttpSecurity http) throws Exception {
//http.addFilterBefore(verifyCodeFilter, UsernamePasswordAuthenticationFilter.class);
http.addFilterAt(new VerifyCodeFilter(),UsernamePasswordAuthenticationFilter.class);
http.sessionManagement().disable();
http.csrf().disable()
.authorizeHttpRequests((authorize) -> authorize
.antMatchers("/toLogin", "/getHealth", "/static/**", "/vercode").permitAll()

Loading…
取消
儲存