Skip to content

Commit

Permalink
fix login meth in AuthenticationService
Browse files Browse the repository at this point in the history
  • Loading branch information
skrypkasv committed Jun 10, 2024
1 parent 3f27712 commit 19f2c9e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main/java/mate/academy/service/AuthenticationService.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,5 @@ public class AuthenticationService {
public boolean login(String email, String password) {
User user = this.userService.findByEmail(email);
return user != null && user.getPassword().equals(password);
return true;
}
return false;
}
}

0 comments on commit 19f2c9e

Please sign in to comment.