From e7f84722e97c6ba5a0a74f370e488a03a41d383f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=86=90=ED=99=8D=EC=84=9D?= <78216059+bayy1216@users.noreply.github.com> Date: Sun, 7 Jul 2024 18:37:25 +0900 Subject: [PATCH] =?UTF-8?q?[Fix]:=20=EC=9C=A0=EC=A0=80=EC=83=9D=EC=84=B1?= =?UTF-8?q?=20pwd=20=EB=88=84=EB=9D=BD=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/org/haedal/zzansuni/domain/user/User.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zzansuni-api-server/app/src/main/java/org/haedal/zzansuni/domain/user/User.java b/zzansuni-api-server/app/src/main/java/org/haedal/zzansuni/domain/user/User.java index ffb6b5f..1868219 100644 --- a/zzansuni-api-server/app/src/main/java/org/haedal/zzansuni/domain/user/User.java +++ b/zzansuni-api-server/app/src/main/java/org/haedal/zzansuni/domain/user/User.java @@ -59,7 +59,7 @@ public static User create(UserCommand.Create command) { return User.builder() .nickname(command.getNickname()) .email(command.getEmail()) - .password(command.getPassword()) + .password(command.getEncodedPassword()) .role(Role.USER) .provider(null) .authToken(null) @@ -75,7 +75,7 @@ public static User createManager(UserCommand.Create command) { return User.builder() .nickname(command.getNickname()) .email(command.getEmail()) - .password(command.getPassword()) + .password(command.getEncodedPassword()) .role(Role.MANAGER) .provider(null) .authToken(null)