protected function onSuccess(UserInterface $user, $confirmation) { $user->setPasskey(md5(uniqid())); $user->setDateAdded(new \DateTime('now')); $user->setLastActivity(new \DateTime('now')); parent::onSuccess($user, $confirmation); }