Esempio n. 1
0
 public function beforeValidate()
 {
     if (parent::beforeValidate()) {
         $this->user = $this->finder->findUserByUsernameOrEmailOrTelephone($this->login);
         return true;
     } else {
         return false;
     }
 }