diff --git a/src/main/java/mate/academy/service/AuthenticationService.java b/src/main/java/mate/academy/service/AuthenticationService.java index 4cb8a9d1..b41163a5 100644 --- a/src/main/java/mate/academy/service/AuthenticationService.java +++ b/src/main/java/mate/academy/service/AuthenticationService.java @@ -16,11 +16,6 @@ public class AuthenticationService { */ public boolean login(String email, String password) { User user = userService.findByEmail(email); - return user != null && user.getPassword().equals(password); } - - public UserService getUserService() { - return userService; - } }