From d9adb66800d2fe85fe55d7b808389c6214fb7a9d Mon Sep 17 00:00:00 2001 From: kgc91747 Date: Wed, 7 Aug 2024 10:45:35 +0900 Subject: [PATCH] fix: conflict solve --- .../edufocus/user/model/service/UserServiceImpl.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/backend/src/main/java/com/edufocus/edufocus/user/model/service/UserServiceImpl.java b/backend/src/main/java/com/edufocus/edufocus/user/model/service/UserServiceImpl.java index ea2d0a5..c50e1c9 100644 --- a/backend/src/main/java/com/edufocus/edufocus/user/model/service/UserServiceImpl.java +++ b/backend/src/main/java/com/edufocus/edufocus/user/model/service/UserServiceImpl.java @@ -142,13 +142,6 @@ public class UserServiceImpl implements UserService { userRepository.deleteRefreshToken(id); } - @Override - public boolean isEmailExist(String email) { - Optional user = userRepository.findByEmail(email); - - return user.isPresent(); - } - @Override public void changeForgottenPassword(Long id, String newPassword) { User user = userRepository.findById(id).orElse(null);