Skip to content

Commit

Permalink
Fix password field
Browse files Browse the repository at this point in the history
Signed-off-by: Vitor Mattos <[email protected]>
  • Loading branch information
vitormattos authored and backportbot-libresign[bot] committed Mar 28, 2024
1 parent 4964fca commit a8330b8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Controller/SignFileController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit a8330b8

Please sign in to comment.