Thanks you *Matías Roldán*, but i forget say that question on symfony2.
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups symfony users group.
To post to this
Something like this:
if($this-isNew())
{
$this-validatorSchema['password']-setOption(required, true);
}
else
{
$this-validatorSchema['password']-setOption(required, true);
}
Or in one line:
$this-validatorSchema['password']-setOption(required, ($this-isNew());
How I can make required