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 committed Dec 5, 2023
1 parent c932377 commit 27e9f9e
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) $expiresAt->format('H'), (int) $expiresAt->format('i'), (int) $expiresAt->format('s'), 0);
}

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

0 comments on commit 27e9f9e

Please sign in to comment.