개인정보 수정
@GetMapping("/user/form") // 개인정보 수정 public String updateForm(Model model){ Authentication authentication = SecurityContextHolder.getContext().getAuthentication(); String id=authentication.getName(); // 로그인한 유저 id model.addAttribute("user", userService.findByUsername(id).get()); return "/user/updateForm"; } 유저 아이디를 이용해서 객체를 찾아 model에 담았다. 개인정보수정 개인정보수정 버튼은 사용자가 로그인했을 때 보인다. 참고 👇 https://flyburi...