Skip to content

Commit

Permalink
Email should be unique not reference
Browse files Browse the repository at this point in the history
  • Loading branch information
WilcoLouwerse committed Apr 25, 2024
1 parent 4225bf6 commit 18a3fff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/Entity/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
* "reference": "exact"
* })
*
* @UniqueEntity("reference")
* @UniqueEntity("email")
*
* @ORM\Table(name="`user`")
*/
Expand Down

0 comments on commit 18a3fff

Please sign in to comment.