diff --git a/lib/Alchemy/Phrasea/Form/Login/PhraseaRegisterForm.php b/lib/Alchemy/Phrasea/Form/Login/PhraseaRegisterForm.php index 363143b745..136b4e7e76 100644 --- a/lib/Alchemy/Phrasea/Form/Login/PhraseaRegisterForm.php +++ b/lib/Alchemy/Phrasea/Form/Login/PhraseaRegisterForm.php @@ -62,7 +62,7 @@ class PhraseaRegisterForm extends AbstractType 'label' => 'Terms of Use', 'mapped' => false, "constraints" => [ - new Assert\True([ + new Assert\IsTrue([ "message" => "Please accept the Terms and conditions in order to register." ])], ]);