@@ -133,7 +133,7 @@ |
||
133 | 133 | $this->getSecondFactorRespondService()->resetRespondState($responseContext); |
134 | 134 | |
135 | 135 | // Handle SAML response |
136 | - $httpResponse = $responseRendering->renderResponse($responseContext, $response, $request); |
|
136 | + $httpResponse = $responseRendering->renderResponse($responseContext, $response, $request); |
|
137 | 137 | |
138 | 138 | $ssoCookieService = $this->get('gateway.service.sso_2fa_cookie'); |
139 | 139 | $ssoCookieService->handleSsoOn2faCookieStorage($responseContext, $request, $httpResponse, 'sfo'); |
@@ -271,7 +271,7 @@ |
||
271 | 271 | $form->addError( |
272 | 272 | new FormError( |
273 | 273 | $this->get('translator') |
274 | - ->trans('gateway.form.gateway_choose_second_factor.unknown_second_factor_type') |
|
274 | + ->trans('gateway.form.gateway_choose_second_factor.unknown_second_factor_type') |
|
275 | 275 | ) |
276 | 276 | ); |
277 | 277 | } |
@@ -247,7 +247,7 @@ discard block |
||
247 | 247 | |
248 | 248 | // Filter the selected second factor from the array collection |
249 | 249 | $secondFactorFiltered = $secondFactors->filter( |
250 | - function ($secondFactor) use ($secondFactorType) { |
|
250 | + function($secondFactor) use ($secondFactorType) { |
|
251 | 251 | return $secondFactorType === $secondFactor->secondFactorType; |
252 | 252 | } |
253 | 253 | ); |
@@ -392,7 +392,7 @@ discard block |
||
392 | 392 | $form = $this->createForm(VerifyYubikeyOtpType::class, $command)->handleRequest($request); |
393 | 393 | $cancelForm = $this->buildCancelAuthenticationForm($authenticationMode)->handleRequest($request); |
394 | 394 | |
395 | - if ($form->isSubmitted() && $form->isValid()) { |
|
395 | + if ($form->isSubmitted() && $form->isValid()) { |
|
396 | 396 | $result = $this->getStepupService()->verifyYubikeyOtp($command); |
397 | 397 | if ($result->didOtpVerificationFail()) { |
398 | 398 | $form->addError( |