change status compte default

This commit is contained in:
Valentin CZERYBA 2022-08-04 23:23:29 +02:00
parent 55da7253db
commit c20ca0723c

View File

@ -62,7 +62,7 @@ public class UsersEntity extends PanacheEntityBase {
users.name = name; users.name = name;
users.firstName = firstName; users.firstName = firstName;
users.birth = birth; users.birth = birth;
users.status = 2; users.status = 1;
users.password = Hash.encryptSHA512(password); users.password = Hash.encryptSHA512(password);
users.roles = roles; users.roles = roles;
users.created_at = LocalDateTime.now(); users.created_at = LocalDateTime.now();