Skip to content

Commit

Permalink
Fix: when password cost was changed, the passwords were being reset
Browse files Browse the repository at this point in the history
  • Loading branch information
Mārtiņš Tereško committed Jul 28, 2017
1 parent 79609bf commit 931a952
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Palladium/Service/Identification.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ public function loginWithPassword(Entity\EmailIdentity $identity, string $passwo
throw new PasswordMismatch;
}

$identity->setPassword($password);
$this->updateEmailIdentityOnUse($identity);
$cookie = $this->createCookieIdentity($identity);

Expand Down

0 comments on commit 931a952

Please sign in to comment.