From 1d7beda1b5d7280eeaf64d54ccc0253298d52cd2 Mon Sep 17 00:00:00 2001 From: James Wragg Date: Mon, 28 Nov 2022 16:40:12 +0000 Subject: [PATCH] FIX: VOL-3471: TM Journey uses Verify when GOV.UK Acc toggle is off --- .../Lva/TransportManager/AbstractDeclarationController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/Olcs/src/Controller/Lva/TransportManager/AbstractDeclarationController.php b/module/Olcs/src/Controller/Lva/TransportManager/AbstractDeclarationController.php index 0fd4d7cf0..9d3f3c279 100644 --- a/module/Olcs/src/Controller/Lva/TransportManager/AbstractDeclarationController.php +++ b/module/Olcs/src/Controller/Lva/TransportManager/AbstractDeclarationController.php @@ -99,7 +99,7 @@ protected function digitalSignatureAction() $routeParams = ['lva'=>$this->lva, 'role'=>$role, 'applicationId'=>$this->tma['application']['id'], 'transportManagerApplicationId'=>$this->tma['id']]; $featureEnabled = $this->handleQuery(IsEnabledQry::create(['ids' => [FeatureToggle::GOVUK_ACCOUNT]]))->getResult()['isEnabled']; if (!$featureEnabled) { - $this->redirect()->toRoute( + return $this->redirect()->toRoute( 'verify/transport-manager', $routeParams );