Skip to content

Commit

Permalink
refactor :: authenticated() -> permitAll()
Browse files Browse the repository at this point in the history
  • Loading branch information
ta2ye0n committed Nov 22, 2024
1 parent 51be8ad commit d96c313
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
.authorizeHttpRequests((authorizeRequests) ->
authorizeRequests
.requestMatchers(HttpMethod.POST, "/auth").permitAll()
.requestMatchers(HttpMethod.POST, "/auth/reissueToken").authenticated()
.requestMatchers(HttpMethod.POST, "/auth/reissueToken").permitAll()
.requestMatchers(HttpMethod.DELETE, "/auth/logout").authenticated()
.requestMatchers(HttpMethod.DELETE, "/auth").authenticated()
)
Expand Down

0 comments on commit d96c313

Please sign in to comment.