Skip to content

Commit

Permalink
fix #30 - use correct identity in PdoAdapter.php
Browse files Browse the repository at this point in the history
  • Loading branch information
do3meli authored and jeremykendall committed Jan 18, 2016
1 parent df8a34b commit e8323e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Adapter/Db/PdoAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public function authenticate()
}

$validationResult = $this->passwordValidator->isValid(
$this->credential, $user[$this->credentialColumn], $user['id']
$this->credential, $user[$this->credentialColumn], $user[$this->identityColumn]
);

if ($validationResult->isValid()) {
Expand Down

0 comments on commit e8323e6

Please sign in to comment.