From c20ca0723cda197a0ec2ee7f4dc64eca5a188177 Mon Sep 17 00:00:00 2001 From: Valentin CZERYBA Date: Thu, 4 Aug 2022 23:23:29 +0200 Subject: [PATCH] change status compte default --- src/main/java/com/covas/Entity/UsersEntity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/covas/Entity/UsersEntity.java b/src/main/java/com/covas/Entity/UsersEntity.java index 364beae..4d707d5 100644 --- a/src/main/java/com/covas/Entity/UsersEntity.java +++ b/src/main/java/com/covas/Entity/UsersEntity.java @@ -62,7 +62,7 @@ public class UsersEntity extends PanacheEntityBase { users.name = name; users.firstName = firstName; users.birth = birth; - users.status = 2; + users.status = 1; users.password = Hash.encryptSHA512(password); users.roles = roles; users.created_at = LocalDateTime.now();