|
@@ -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.