Skip to content

Commit

Permalink
Merge pull request #3 from Miles8of9/patch-2
Browse files Browse the repository at this point in the history
Patch 2
  • Loading branch information
EvanDotPro committed Mar 6, 2012
2 parents f46c374 + 77135f6 commit be3cf85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ZfcUser/Authentication/Adapter/Db.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ public function authenticate(AuthEvent $e)

// Success!
$e->setIdentity($userObject->getUserId());
$this->updateUserPasswordHash($userObject, $credential)
->updateUserLastLogin($userObject)
$this->updateUserLastLogin($userObject)
->updateUserPasswordHash($userObject, $credential)
->setSatisfied(true);
$storage = $this->getStorage()->read();
$storage['identity'] = $e->getIdentity();
Expand Down

0 comments on commit be3cf85

Please sign in to comment.