Edited some requests, security fixes

This commit is contained in:
redtea committed 2022-09-02 16:11:25 +03:00
1 parent c7cca9a77e
commit 00374da288
6 files changed
+20 -21

No files matched your search

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