Exemple #1
0
 public function checkbox(LoginModel $model)
 {
     if (isset($_POST["checkbox"])) {
         $this->saveCookies($model->getUsername(), $model->getPassword());
         return true;
     } else {
         return false;
     }
 }