mirror of
https://github.com/docusealco/docuseal
synced 2026-11-08 07:42:32 -05:00
allow to delegate
This commit is contained in:
1 parent
c23eca0ade
commit
3eb0b8a89f
23 files changed
+454
-85
No files matched your search
@@ -175,6 +175,7 @@ module Accounts
|
||||
|
||||
def can_send_emails?(_account, **_params)
|
||||
return true if Docuseal.multitenant?
|
||||
return true if Rails.env.development?
|
||||
return true if ENV['SMTP_ADDRESS'].present?
|
||||
|
||||
EncryptedConfig.exists?(key: EncryptedConfig::EMAIL_SMTP_KEY)
|
||||
|
||||
Reference in new issue
Block a user