Esempio n. 1
0
 /**
  * Fired when the form is posting.
  *
  * @param UserSecurity $security
  */
 public function onPosting(UserSecurity $security)
 {
     $response = $security->attempt();
     if ($response instanceof Response) {
         $this->setFormResponse($response);
         $this->setSave(false);
     }
 }