Skip to content

Commit

Permalink
Fix email regex
Browse files Browse the repository at this point in the history
  • Loading branch information
na-ji committed Jun 7, 2016
1 parent 8fc8021 commit 64e3b9b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/nk/UserBundle/Entity/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class User extends BaseUser
*
* @Assert\NotBlank()
* @Assert\Regex(
* pattern="/^[a-z\.-]+@edu\.esiee\.fr$/",
* pattern="/^[a-z\.-]+[0-9]{0,2}@edu\.esiee\.fr$/",
* message="Vous devez avoir un mail @edu.esiee.fr"
* )
*/
Expand Down

1 comment on commit 64e3b9b

@na-ji
Copy link
Member Author

@na-ji na-ji commented on 64e3b9b Jun 7, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.