Merge branch 'master' of git.inpt.fr:tocard-inc/enseeiht/projet-web

This commit is contained in:
gdamms 2022-05-25 17:15:54 +02:00
commit f3cb2e5da9

View file

@ -28,7 +28,7 @@ public class User implements Serializable {
// mot de passe hashé en sha256
@NonNull
@NotBlank
private transient String password;
private String password;
// portefeuille
@OneToMany(mappedBy = "owner")
@ -39,7 +39,7 @@ public class User implements Serializable {
private Integer balance = 0;
@Column(unique = true)
private transient String sessionID;
private String sessionID;
public User(String username, String password) {
this.username = username;