add reuse signature config

This commit is contained in:
Pete Matsyburka
2024-10-10 13:14:49 +03:00
committed by Oleksandr Turchyn
parent b62bd200ed
commit c700484ce8
4 changed files with 15 additions and 8 deletions
+1
View File
@@ -28,6 +28,7 @@ safeRegisterElement('submission-form', class extends HTMLElement {
requireSigningReason: this.dataset.requireSigningReason === 'true',
withConfetti: this.dataset.withConfetti !== 'false',
withDisclosure: this.dataset.withDisclosure === 'true',
reuseSignature: this.dataset.reuseSignature !== 'false',
withTypedSignature: this.dataset.withTypedSignature !== 'false',
authenticityToken: document.querySelector('meta[name="csrf-token"]')?.content,
rememberSignature: this.dataset.rememberSignature === 'true',