diff --git a/api/src/Entity/User.php b/api/src/Entity/User.php index 9498fdce7..691d02fc0 100644 --- a/api/src/Entity/User.php +++ b/api/src/Entity/User.php @@ -52,7 +52,7 @@ * "reference": "exact" * }) * - * @UniqueEntity("reference") + * @UniqueEntity("email") * * @ORM\Table(name="`user`") */