Skip to content

Commit ab62a72

Browse files
authored
Merge pull request #511 from OpenConext/feature/issues-433_fix-invalid_logentry
Fix premature log entry
2 parents 634c41e + a584675 commit ab62a72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Surfnet/StepupGateway/GatewayBundle/Controller/SecondFactorController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -408,8 +408,8 @@ public function gssfVerified(Request $request, string $authenticationMode): Resp
408408
);
409409
}
410410

411-
$this->getAuthenticationLogger()->logSecondFactorAuthentication($originalRequestId, $authenticationMode);
412411
$context->markSecondFactorVerified();
412+
$this->getAuthenticationLogger()->logSecondFactorAuthentication($originalRequestId, $authenticationMode);
413413

414414
$logger->info(sprintf(
415415
'Marked GSSF "%s" as verified, forwarding to Gateway controller to respond',

0 commit comments

Comments
 (0)