Bläddra i källkod

add 验证码

tags/V2.2.0
chenjiandong 2 år sedan
förälder
incheckning
3b2a535249
1 ändrade filer med 0 tillägg och 1 borttagningar
  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 Visa fil

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

Laddar…
Avbryt
Spara