Переглянути джерело

add 验证码

tags/V2.2.0
chenjiandong 1 рік тому
джерело
коміт
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()

Завантаження…
Відмінити
Зберегти