diff --git a/lib/Controller/PageController.php b/lib/Controller/PageController.php index c272adcba..62d6aa918 100644 --- a/lib/Controller/PageController.php +++ b/lib/Controller/PageController.php @@ -509,7 +509,7 @@ public function validation(): TemplateResponse { #[FrontpageRoute(verb: 'GET', url: '/validation/{uuid}')] public function validationFileWithShortUrl(): RedirectResponse { $this->throwIfValidationPageNotAccessible(); - return new RedirectResponse($this->url->linkToRoute('libresign.page.validationFile', ['uuid' => $this->request->getParam('uuid')])); + return new RedirectResponse($this->url->linkToRoute('libresign.page.validationFilePublic', ['uuid' => $this->request->getParam('uuid')])); } /** diff --git a/lib/Service/IdentifyMethod/AbstractIdentifyMethod.php b/lib/Service/IdentifyMethod/AbstractIdentifyMethod.php index 139d9685c..e0da2b49e 100644 --- a/lib/Service/IdentifyMethod/AbstractIdentifyMethod.php +++ b/lib/Service/IdentifyMethod/AbstractIdentifyMethod.php @@ -265,7 +265,7 @@ protected function throwIfAlreadySigned(): void { 'action' => JSActions::ACTION_REDIRECT, 'errors' => [$this->identifyService->getL10n()->t('File already signed.')], 'redirect' => $this->identifyService->getUrlGenerator()->linkToRoute( - 'libresign.page.validationFile', + 'libresign.page.validationFilePublic', ['uuid' => $signRequest->getUuid()] ), ]));