mirror of
https://github.com/docusealco/docuseal
synced 2026-11-08 15:42:32 -05:00
adjust configs loading
This commit is contained in:
1 parent
57aef5f5e5
commit
65f491325e
2 files changed
+5
-6
No files matched your search
@@ -12,7 +12,7 @@ class VerifyPdfSignatureController < ApplicationController
|
||||
cert_data = if Docuseal.multitenant?
|
||||
Docuseal::CERTS
|
||||
else
|
||||
EncryptedConfig.find_by(account: current_account, key: EncryptedConfig::ESIGN_CERTS_KEY)&.value || {}
|
||||
EncryptedConfig.find_by(key: EncryptedConfig::ESIGN_CERTS_KEY)&.value || {}
|
||||
end
|
||||
|
||||
default_pkcs = GenerateCertificate.load_pkcs(cert_data)
|
||||
|
||||
Reference in new issue
Block a user