Skip to content

Commit

Permalink
[Fix]: 유저생성 pwd 누락 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
bayy1216 committed Jul 7, 2024
1 parent bdac9c2 commit e7f8472
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit e7f8472

Please sign in to comment.