예제 #1
0
파일: LoginForm.php 프로젝트: kd-brinex/kd
 public function beforeValidate()
 {
     if (parent::beforeValidate()) {
         $this->user = $this->finder->findUserByUsernameOrEmailOrTelephone($this->login);
         return true;
     } else {
         return false;
     }
 }