Closed zhy2on closed 2 months ago
로그인한 사용자만 다이어리 작성, 수정이 가능해야 하니까 인증과정 거친 후 사용자 정보를 담고 있는 @AuthenticationPrincipal UserDetails 사용하여 요청을 처리하도록 변경하기
@AuthenticationPrincipal UserDetails
로그인한 사용자만 다이어리 작성, 수정이 가능해야 하니까 인증과정 거친 후 사용자 정보를 담고 있는
@AuthenticationPrincipal UserDetails
사용하여 요청을 처리하도록 변경하기