Exemplo n.º 1
0
 public function success_form(Form $form, $values)
 {
     $file = $values->img;
     if ($file->getError()) {
         $file = null;
     }
     $this->user_manager->updateUser($this->user_id, $values->name, $values->email, $values->password, null, $file);
 }
Exemplo n.º 2
0
 public function success_form_pass(Form $form, $values)
 {
     $this->user_manager->updateUser($this->user_id, null, null, $values->password, null, null);
 }