first commit symfony 6
This commit is contained in:
12
src/Validator/Password.php
Normal file
12
src/Validator/Password.php
Normal file
@ -0,0 +1,12 @@
|
||||
<?php
|
||||
namespace App\Validator;
|
||||
|
||||
use Symfony\Component\Validator\Constraint;
|
||||
|
||||
/**
|
||||
* @Annotation
|
||||
*/
|
||||
class Password extends Constraint
|
||||
{
|
||||
public $message = "Votre mot de passe doit contenir au minimum 8 caractères, constitué de chiffres, de lettres et caractères spéciaux";
|
||||
}
|
Reference in New Issue
Block a user