mirror of
https://github.com/docusealco/docuseal
synced 2026-11-05 22:52:32 -05:00
fix smtp
This commit is contained in:
1 parent
47c7270911
commit
f1a2b71b59
1 file changed
+1
-1
@@ -28,7 +28,7 @@ module ActionMailerConfigsInterceptor
|
||||
end
|
||||
|
||||
unless Docuseal.multitenant?
|
||||
email_configs = EncryptedConfig.find_by(key: EncryptedConfig::EMAIL_SMTP_KEY)
|
||||
email_configs = EncryptedConfig.order(:account_id).find_by(key: EncryptedConfig::EMAIL_SMTP_KEY)
|
||||
|
||||
if email_configs
|
||||
message.delivery_method(:smtp, build_smtp_configs_hash(email_configs))
|
||||
|
||||
Reference in new issue
Block a user