From 3d28e82275060d6ccce39f00fa20f051b7a15de7 Mon Sep 17 00:00:00 2001 From: Paul Rijke Date: Wed, 12 Jun 2024 15:44:26 +0200 Subject: [PATCH] Process review feedback --- bin/console | 3 ++- composer.json | 2 +- config/routes/controllers.yaml | 2 +- public/index.php | 3 +-- src/{ => Surfnet/StepupRa}/Kernel.php | 4 ++-- .../RaBundle/EventListener/AuthenticatedUserListener.php | 4 +--- .../RaBundle/EventListener/ExplicitSessionTimeoutListener.php | 2 -- 7 files changed, 8 insertions(+), 12 deletions(-) rename src/{ => Surfnet/StepupRa}/Kernel.php (93%) diff --git a/bin/console b/bin/console index 44e1fdbd..0691a73a 100755 --- a/bin/console +++ b/bin/console @@ -1,7 +1,8 @@ #!/usr/bin/env php ['updateLastInteractionMoment', 6], ]; } diff --git a/src/Surfnet/StepupRa/RaBundle/EventListener/ExplicitSessionTimeoutListener.php b/src/Surfnet/StepupRa/RaBundle/EventListener/ExplicitSessionTimeoutListener.php index 569e2fbe..78a34060 100644 --- a/src/Surfnet/StepupRa/RaBundle/EventListener/ExplicitSessionTimeoutListener.php +++ b/src/Surfnet/StepupRa/RaBundle/EventListener/ExplicitSessionTimeoutListener.php @@ -49,8 +49,6 @@ public function __construct( public static function getSubscribedEvents(): array { return [ - // The firewall, which makes the token available, listens at P8 - // We must jump in after the firewall, forcing us to overwrite the translator locale. KernelEvents::REQUEST => ['checkSessionTimeout', 5], ]; }