Skip to content

Commit

Permalink
fix: typo in PasswordTokenManager
Browse files Browse the repository at this point in the history
  • Loading branch information
mano-lis authored Dec 4, 2023
1 parent abb88cc commit c98a667
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Manager/PasswordTokenManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ public function createPasswordToken($user, \DateTime $expiresAt = null, Provider
}

if (!$expiresAt) {
$expiredAt = new \DateTime($provider->getPasswordTokenExpiredIn());
$expiredAt->setTime((int) $expiredAt->format('H'), (int) $expiredAt->format('i'), (int) $expiredAt->format('s'), 0);
$expiresAt = new \DateTime($provider->getPasswordTokenExpiredIn());
$expiresAt->setTime((int) $expiredAt->format('H'), (int) $expiredAt->format('i'), (int) $expiredAt->format('s'), 0);
}

$tokenClass = $provider->getPasswordTokenClass();
Expand Down

0 comments on commit c98a667

Please sign in to comment.