Skip to content

Commit

Permalink
Merge pull request #133 from coopTilleuls/fix/132
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentchalamon committed Dec 18, 2023
2 parents 45a6979 + 4dab032 commit ad2d782
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Manager/ForgotPasswordManager.php
Expand Up @@ -70,7 +70,7 @@ public function resetPassword($propertyName, $value, ProviderInterface $provider
// A token already exists and has not expired
if (null === $token || $token->isExpired()) {
$expiredAt = new \DateTime($provider->getPasswordTokenExpiredIn());
$expiredAt->setTime((int) $expiredAt->format('H'), (int) $expiredAt->format('m'), (int) $expiredAt->format('s'), 0);
$expiredAt->setTime((int) $expiredAt->format('H'), (int) $expiredAt->format('i'), (int) $expiredAt->format('s'), 0);

$token = $this->passwordTokenManager->createPasswordToken($user, $expiredAt, $provider);
}
Expand Down

0 comments on commit ad2d782

Please sign in to comment.