in most of the cases its a good idea to let the user confirm is password to prevent uneeded password support.
symfony2 has an own PasswordType in his formpackage.
Include the needed namespaces:
use Symfony\Component\Form\Extension\Core\Type\RepeatedType;
use Symfony\Component\Form\Extension\Core\Type\PasswordType;
add the PassWordType to your form
Keine Kommentare:
Kommentar veröffentlichen