Commit 24d50e3b authored by Jozef Vajdiar's avatar Jozef Vajdiar
Browse files

Update RegistrationController.php

parent 8e1dec6c
......@@ -56,8 +56,6 @@ class RegistrationController extends AbstractController
public function registerAction(Request $request)
{
$user = $this->userManager->createUser();
$user->setEnabled(true);
$event = new GetResponseUserEvent($user, $request);
$this->eventDispatcher->dispatch($event, FOSUserEvents::REGISTRATION_INITIALIZE);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment