From 1b3aa4d330892eb9423eef8d956ad98741b89d42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laure=CE=B7t?= Date: Wed, 25 May 2022 17:13:23 +0200 Subject: [PATCH] fix: removed transient keyword --- src/main/java/com/pixels/beans/User.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/pixels/beans/User.java b/src/main/java/com/pixels/beans/User.java index 51eff60..30046fb 100644 --- a/src/main/java/com/pixels/beans/User.java +++ b/src/main/java/com/pixels/beans/User.java @@ -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;