JAVA-20481 (#13901)

Co-authored-by: jogra <joseph.sterling.grah@miles.no>
This commit is contained in:
jsgrah-spring 2023-04-25 15:25:05 +02:00 committed by GitHub
parent 321e1d3fcc
commit eca8ddf2f5

View File

@ -29,7 +29,7 @@ public class SecurityConfig {
.antMatchers("/user/**") .antMatchers("/user/**")
.hasAnyRole("USER", "ADMIN") .hasAnyRole("USER", "ADMIN")
.antMatchers("/login/**") .antMatchers("/login/**")
.anonymous() .permitAll()
.anyRequest() .anyRequest()
.authenticated() .authenticated()
.and() .and()