Skip to content

Commit 4413d3b

Browse files
committed
fix: update logic in SignFileService.php\n\nChanged implementation at line 344 to improve behavior as required.\n\nSigned-off-by: Vitor Mattos <[email protected]>
Signed-off-by: Vitor Mattos <[email protected]>
1 parent 7ffee0d commit 4413d3b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Service/SignFileService.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ protected function validateDocMdpAllowsSignatures(): void {
341341
try {
342342
if (!$this->docMdpHandler->allowsAdditionalSignatures($resource)) {
343343
throw new LibresignException(
344-
$this->l10n->t('This document is certified with DocMDP level 1 (no changes allowed) and cannot receive additional signatures'),
344+
$this->l10n->t('This document has been certified with no changes allowed, so no additional signatures can be added.'),
345345
AppFrameworkHttp::STATUS_UNPROCESSABLE_ENTITY
346346
);
347347
}

0 commit comments

Comments
 (0)