fixes
This commit is contained in:
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);
|
||||
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user