Skip to content

Commit

Permalink
Validates if I already signed
Browse files Browse the repository at this point in the history
  • Loading branch information
vitormattos committed May 13, 2021
1 parent a0fde9c commit f6a49d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Controller/LibresignController.php
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ private function validate(string $type, $identifier) {
'fullName' => $signature->getFullName(),
'me' => $uid === $signature->getUserId()
];
if ($uid === $signature->getUserId()) {
if ($uid === $signature->getUserId() && !$signature->getSigned()) {
$canSign = true;
}
}
Expand Down

0 comments on commit f6a49d4

Please sign in to comment.