From d48752c5520ce75e22393c2cb58b4ba972d97d8e Mon Sep 17 00:00:00 2001 From: Vitor Mattos Date: Wed, 27 Mar 2024 23:05:32 -0300 Subject: [PATCH] Fix password field Signed-off-by: Vitor Mattos --- lib/Controller/SignFileController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Controller/SignFileController.php b/lib/Controller/SignFileController.php index da6923bd2f..4fc1820617 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); }