From 57b6b198fa5d43344fe9f036376b127aac50f57f Mon Sep 17 00:00:00 2001 From: Michiel Kodde Date: Tue, 23 Jan 2024 11:10:08 +0100 Subject: [PATCH] Remove App\Controller references --- config/packages/framework.yaml | 2 +- src/Controller/AuthenticationController.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/config/packages/framework.yaml b/config/packages/framework.yaml index 9ba26584..1be5fc31 100644 --- a/config/packages/framework.yaml +++ b/config/packages/framework.yaml @@ -8,7 +8,7 @@ framework: csrf_protection: true handle_all_throwables: true http_method_override: true - error_controller: App\Controller\ExceptionController::show + error_controller: Surfnet\Tiqr\Controller\ExceptionController::show # Enables session support. Note that the session will ONLY be started if you read or write from it. # Remove or comment this section to explicitly disable session support. diff --git a/src/Controller/AuthenticationController.php b/src/Controller/AuthenticationController.php index 67145e1a..a0a24b76 100644 --- a/src/Controller/AuthenticationController.php +++ b/src/Controller/AuthenticationController.php @@ -376,7 +376,7 @@ private function showUserIsBlockedErrorPage(bool $isBlockedPermanently): Respons } // Forward to the exception controller to prevent an error being logged. return $this->forward( - 'App\Controller\ExceptionController::show', + 'Surfnet\Tiqr\Controller\ExceptionController::show', [ 'exception' => $exception, ]