Skip to content

Commit

Permalink
Refactor according to the review
Browse files Browse the repository at this point in the history
  • Loading branch information
euulu committed Dec 9, 2024
1 parent ee33b67 commit bb533c1
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/main/java/mate/academy/service/AuthenticationService.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}

0 comments on commit bb533c1

Please sign in to comment.