Completed
Push — master ( f7bd0c...1ad59d )
by michael
03:59
created
Service/U2fSecurity.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -190,7 +190,7 @@
 block discarded – undo
190 190
             );
191 191
         } catch (\Exception $e) {
192 192
             if ($this->dispatcher->hasListeners(U2fAuthenticationFailureEvent::getName())) {
193
-                $counter = $this->session->get('u2f_registration_error_counter', 0) +1;
193
+                $counter = $this->session->get('u2f_registration_error_counter', 0)+1;
194 194
                 $this->session->set('u2f_registration_error_counter', $counter);
195 195
                 $this->dispatcher->dispatch(U2fAuthenticationFailureEvent::getName(), new U2fAuthenticationFailureEvent($user, $e, $counter));
196 196
             }
Please login to merge, or discard this patch.
EventSubscriber/U2fSubscriber.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@
 block discarded – undo
142 142
              * If the user isn't on a whitelisted route, he is redirected to the authentication page.
143 143
              */
144 144
             if (!in_array($route, $whitelist)) {
145
-                $counter = $this->session->get('u2f_registration_error_counter', -1) +1;
145
+                $counter = $this->session->get('u2f_registration_error_counter', -1)+1;
146 146
                 $this->session->set('u2f_registration_error_counter', $counter);
147 147
                 $event->setResponse(new RedirectResponse($this->router->generate($this->redirectToRoute)));
148 148
                 $event->stopPropagation();
Please login to merge, or discard this patch.