Skip to content

Commit

Permalink
Fix missing method.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertpustulka committed Dec 8, 2017
1 parent 46c6fed commit 57380b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Authenticator/CookieAuthenticator.php
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,10 @@ public function authenticate(ServerRequestInterface $request, ResponseInterface
$credentials = [
'username' => $username
];
$identity = $this->identifiers()->identify($credentials);
$identity = $this->_identifier->identify($credentials);

if (empty($identity)) {
return new Result(null, Result::FAILURE_IDENTITY_NOT_FOUND, $this->identifiers()->getErrors());
return new Result(null, Result::FAILURE_IDENTITY_NOT_FOUND, $this->_identifier->getErrors());
}

if (!$this->_checkToken($identity, $tokenHash)) {
Expand Down

0 comments on commit 57380b7

Please sign in to comment.