diff --git a/src/main/java/com/matdongsan/service/MemberService.java b/src/main/java/com/matdongsan/service/MemberService.java index 55f09473..39668224 100644 --- a/src/main/java/com/matdongsan/service/MemberService.java +++ b/src/main/java/com/matdongsan/service/MemberService.java @@ -63,6 +63,7 @@ public Member findMember(long memberId) { public void changeMemberNickname(String nickname, Account account) { Member currentMember = account.getMember(); currentMember.setNickname(nickname); + memberRepository.save(currentMember); forceAuthentication(account); } diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index a3c721e8..c5db28e7 100755 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -14,57 +14,41 @@
- +
+ +