mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
feat: use timestamp instead of bool on is_verified
This commit is contained in:
@@ -47,7 +47,7 @@ readonly class EmailVerifier
|
||||
{
|
||||
$this->verifyEmailHelper->validateEmailConfirmationFromRequest($request, (string) $user->getId(), $user->getEmail());
|
||||
|
||||
$user->setVerified(true);
|
||||
$user->setVerifiedAt(new \DateTimeImmutable());
|
||||
|
||||
$this->entityManager->persist($user);
|
||||
$this->entityManager->flush();
|
||||
|
||||
Reference in New Issue
Block a user