fix: conflict solve

This commit is contained in:
kgc91747 2024-08-07 10:45:35 +09:00
parent b4ec889080
commit d9adb66800

View File

@ -142,13 +142,6 @@ public class UserServiceImpl implements UserService {
userRepository.deleteRefreshToken(id); userRepository.deleteRefreshToken(id);
} }
@Override
public boolean isEmailExist(String email) {
Optional<User> user = userRepository.findByEmail(email);
return user.isPresent();
}
@Override @Override
public void changeForgottenPassword(Long id, String newPassword) { public void changeForgottenPassword(Long id, String newPassword) {
User user = userRepository.findById(id).orElse(null); User user = userRepository.findById(id).orElse(null);