Zend\Form\Element\Password::prepareElement
Remove the password before rendering if the form fails in order to avoid any security issue
Signature
public function prepareElement(FormInterface
$form )
Parameters
$form
— Zend\Form\FormInterface
Returns
- mixed