canvi-likelion / canvi-server

0 stars 0 forks source link

refactor: diary 관련 `@AuthenticationPrincipal UserDetails` 사용으로 변경하기 #31

Closed zhy2on closed 2 months ago

zhy2on commented 2 months ago

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