diff --git a/lib/Controller/SignFileController.php b/lib/Controller/SignFileController.php index da6923bd2..4fc182061 100644 --- a/lib/Controller/SignFileController.php +++ b/lib/Controller/SignFileController.php @@ -92,7 +92,7 @@ public function sign(int $fileId = null, string $signRequestUuid = null, string $this->validateHelper->validateVisibleElementsRelation($elements, $signRequest, $user); $this->validateHelper->validateCredentials($signRequest, $user, $method, $identifyValue, $token); if ($method === 'password') { - $this->signFileService->setPassword($identifyValue); + $this->signFileService->setPassword($token); } else { $this->signFileService->setSignWithoutPassword(true); }