Skip to content

Commit

Permalink
feat: login에도 perminAll 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
korECM committed Feb 22, 2021
1 parent 9f292d9 commit a05b73c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/justmove/config/auth/SecurityConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ protected void configure(HttpSecurity http) throws Exception {
.antMatchers(HttpMethod.OPTIONS).permitAll()
.antMatchers("/", "/h2-console/**").permitAll()
.antMatchers("/auth/**").permitAll()
.antMatchers("/login/**").permitAll()
.antMatchers("/api/v1/**").hasRole(Role.USER.name())
.anyRequest().authenticated()
.and()
Expand Down

0 comments on commit a05b73c

Please sign in to comment.