public function configure() { parent::configure(); unset($this['password']); $this->validatorSchema->setPostValidator(new sfObjectGuardRegisterValidator()); $this->widgetSchema->setNameFormat('register[%s]'); }
public function configure() { parent::configure(); unset($this['email']); $this->widgetSchema->setLabels(array('password' => 'Your new password')); $this->widgetSchema->setNameFormat('password[%s]'); }
public function configure() { parent::configure(); $this->validatorSchema->setPostValidator(new sfObjectGuardLoginValidator()); $this->widgetSchema->setNameFormat('login[%s]'); }