This commit is contained in:
redtea committed 2022-09-15 22:49:10 +03:00
1 parent 00374da288
commit 27f4885a30
11 files changed
+60 -78

No files matched your search

@@ -41,9 +41,8 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
.and()
.authorizeRequests()
.antMatchers(SecurityConstants.SIGN_UP_URLS).permitAll()
.antMatchers("/auth/*").anonymous()
.antMatchers("/").permitAll()
.anyRequest().authenticated();
.anyRequest().authenticated().and()
.antMatcher("/auth/*").anonymous();
http.addFilterBefore(jwtFilter, UsernamePasswordAuthenticationFilter.class);
}