Skip to content
Snippets Groups Projects
Commit 1289e793 authored by Damyan Mitev's avatar Damyan Mitev :beach:
Browse files

add acroForm check

parent f48247ee
No related branches found
No related tags found
1 merge request!48269 implement workflow for signing already uploaded document dev
......@@ -331,9 +331,9 @@ async function sha256(array) {
}
function isSigInRoot(pdf) {
if (typeof pdf.acroForm === 'undefined') {
return false;
}
if (!pdf.acroForm) {
return false;
}
return pdf.acroForm.get('SigFlags') === 3;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment