Starbugstone / SnowTricks

OpenClassrooms - Php Symfony App dev - project 6
0 stars 0 forks source link

With the reset password we can cotinue to reset form even if the validation date is passed #34

Closed Starbugstone closed 5 years ago

Starbugstone commented 5 years ago

the check if (!$user->getVerified() && $user->isVerifiedDateTimeValid()) { $event = new UserValidatedEvent($user); $this->dispatcher->dispatch(UserValidatedEvent::NAME, $event); }

takes care of the validation, but the for creation still follows. Need to check the validation datetime before