Completed
Push — master ( 2cdc93...0f73c1 )
by Craig
06:53
created
src/system/UsersModule/Controller/AccessController.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,8 @@
 block discarded – undo
91 91
                 $form = $this->createForm(DefaultLoginType::class, ['uid' => $uid]);
92 92
                 $loginFormEvent = new UserFormAwareEvent($form);
93 93
                 $dispatcher->dispatch(AccessEvents::AUTHENTICATION_FORM, $loginFormEvent);
94
-                if ($form->count() > 3) { // count > 3 means that the AUTHENTICATION_FORM event added some form children
94
+                if ($form->count() > 3) {
95
+// count > 3 means that the AUTHENTICATION_FORM event added some form children
95 96
                     $form->handleRequest($request);
96 97
                     if ($form->isValid() && $form->isSubmitted()) {
97 98
                         $uid = $form->get('uid')->getData();
Please login to merge, or discard this patch.