Skip to content

Commit

Permalink
Added get passwordhash in User
Browse files Browse the repository at this point in the history
  • Loading branch information
Robin committed Apr 13, 2026
1 parent 09fcd3f commit b715817
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
public class User {
private static final PasswordHasher passwordHasher = new PasswordHasher();

private UUID id;
private final UUID id;
private String name;
private String email;
private String passwordHash;
private Role role;
private final Role role;
private Settings settings;
private Inbox inbox;

Expand Down Expand Up @@ -121,6 +121,10 @@ public String getEmail() {
return email;
}

public String getPasswordHash() {
return passwordHash;
}

public Role getRole() {
return role;
}
Expand Down

0 comments on commit b715817

Please sign in to comment.