Edited some requests, security fixes
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user