@@ -122,7 +122,8 @@ |
||
122 | 122 | $form = $this->createForm(DefaultLoginType::class, ['uid' => $uid]); |
123 | 123 | $loginFormEvent = new LoginFormPostCreatedEvent($form); |
124 | 124 | $eventDispatcher->dispatch($loginFormEvent); |
125 | - if ($form->count() > 3) { // count > 3 means that the LoginFormPostCreatedEvent event added some form children |
|
125 | + if ($form->count() > 3) { |
|
126 | +// count > 3 means that the LoginFormPostCreatedEvent event added some form children |
|
126 | 127 | $form->handleRequest($request); |
127 | 128 | if ($form->isSubmitted() && $form->isValid()) { |
128 | 129 | $uid = $form->get('uid')->getData(); |