diff --git a/src/main/java/catering/users/UserManagement.java b/src/main/java/catering/users/UserManagement.java index fff7457..0382501 100644 --- a/src/main/java/catering/users/UserManagement.java +++ b/src/main/java/catering/users/UserManagement.java @@ -35,6 +35,7 @@ public class UserManagement { user.setLastname(lastname); user.setFirstname(firstname); users.save(user); + System.out.println(user.getLastname()); // NOT NULL return user; }