Skip to content

Commit

Permalink
Hotfix (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
kih00 authored Feb 1, 2025
1 parent 3525bcb commit 83a55c9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ class UserService(
): User {
if (userRepository.findByEmail(email) != null) throw EmailAlreadyExistsException()
val encryptedPassword = BCrypt.hashpw(password, BCrypt.gensalt())
// 클라이언트에서 쓸 유저 식별 번호인 userNumber는 해당 유저가 서비스에 가입한 순서 + 100000으로 한다.
// 클라이언트에서 쓸 유저 식별 번호인 userNumber는 해당 유저가 서비스에 가입한 순서 + 1로 한다.
val userNumber = userRepository.getMaxUserNumber() + 1
// 메일 인증이 이루어지기 전까지 User의 verified 필드는 false이다.
val userEntity = userRepository.save(
Expand Down

0 comments on commit 83a55c9

Please sign in to comment.