Skip to content

Commit

Permalink
feat: hasCode
Browse files Browse the repository at this point in the history
  • Loading branch information
dariogmori committed Mar 5, 2024
1 parent f9c21e0 commit 8031b94
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,8 @@ public boolean equals(Object o) {
UserDetailsImpl user = (UserDetailsImpl) o;
return Objects.equals(id, user.id);
}
@Override
public int hashCode() {
return Objects.hash(id, username, email, password, authorities);
}
}

0 comments on commit 8031b94

Please sign in to comment.