|
|
@@ -89,15 +89,13 @@ public class UserService {
|
|
|
.ifPresent(user -> {
|
|
|
throw CustomErrorException.phoneAlreadyExist();
|
|
|
});
|
|
|
- System.out.println(1);
|
|
|
User user = userMapper.userVOToUser(userVO);
|
|
|
- System.out.println(2);
|
|
|
+ System.out.println(user.getId()+user.getName()+user.getEmail()+user.getPhone());
|
|
|
String encodedPassword = passwordEncoder.encode(password);
|
|
|
- System.out.println(3);
|
|
|
+ System.out.println(encodedPassword);
|
|
|
user.setPassword(encodedPassword);
|
|
|
- System.out.println(4);
|
|
|
User savedUser = userRepository.save(user);
|
|
|
- System.out.println(5);
|
|
|
+ System.out.println(savedUser.getId());
|
|
|
|
|
|
try {
|
|
|
gitlabService.createGitlabUser(Math.toIntExact(savedUser.getId()), savedUser.getUsername(), password, savedUser.getEmail());
|