Skip to content

Commit

Permalink
final changes
Browse files Browse the repository at this point in the history
  • Loading branch information
gubber230 committed Sep 24, 2024
1 parent 3ad58a2 commit 5c14ae6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public class AuthenticationService {
*/
public boolean login(String email, String password) {
UserService userService = new UserService();
return userService.findByEmail(email) != null && userService.findByEmail(email).getPassword().equals(password);
return userService.findByEmail(email) != null
&& userService.findByEmail(email).getPassword().equals(password);
}
}

0 comments on commit 5c14ae6

Please sign in to comment.