title: How to customize the display of "There is already an account with this" message in Twig
body: <p>I'm trying to customize the display of this error message &quot;There is already an account with this&quot; in Twig.</p>
  <p>This is the relevant code in the form class:</p>
  <pre><code>-&gt;add('cin', TextType::class, [
              'required' =&gt; true,
          ])
  </code></pre>
  <p>And here is the relvant HTML/Twig code:</p>
  <pre><code>&lt;div class=&quot;form-outline&quot;&gt;
     {{ form_row(registrationForm.cin ,{'label':false,'attr':{'placeholder':'Numéro carte d\'identité', 'name':'cin', 'class':'form-control', 'id':'cin', 'type':'number', 'minlength':'8', 'maxlength':'8', 'required data-error':'Veuillez saisir votre numéro de carte d\'identité', } } ) }}
     &lt;span style=&quot;color: red&quot;&gt;{{ form_errors(registrationForm.cin) }}&lt;/span&gt;
  &lt;/div&gt;
  </code></pre>
  <p>This is what I get on my screen in case there is an error:</p>
  <p><a href="https://i.stack.imgur.com/tmK6k.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tmK6k.jpg" alt="enter image description here" /></a></p>
  <p>However, What I would like to get is only the red message (that is below the text field) customized to something like &quot;Invalid card ID&quot;, for instance.
  So, what's wrong in my code? Any idea?</p>