Пример #1
0
 /**
  * Logs in a user using the provided username and password.
  *
  * @return boolean whether the user is logged in successfully
  */
 public function inActive()
 {
     return User::findByUsernameInactive($this->username);
 }