예제 #1
0
파일: Confide.php 프로젝트: joshle/confide
 /**
  * Returns a user that corresponds to the given reset password token or
  * false if there is no user with the given token.
  *
  * @param string $token
  *
  * @return ConfideUser
  */
 public function userByResetPasswordToken($token)
 {
     $email = $this->passService->getEmailByToken($token);
     if ($email) {
         return $this->repo->getUserByEmail($email);
     }
     return false;
 }