So why this form save the password on the embededForm ?
(I precise that the password is not included in the "sfGuardUserInfosForm" form.)
- Code: Select all
class sfGuardMyInfosForm extends sfGuardUserInfosForm
{
public function configure()
{
parent::configure();
$myPwdForm = new sfGuardChangeLoggedUserPasswordForm($this->getObject());
$this->embedForm('pwd', $myPwdForm);
}
public function saveEmbeddedForms($con = null, $forms = null)
{
return true;
}
}
