adjust send email job

This commit is contained in:
Pete Matsyburka committed 2025-01-28 18:52:12 +02:00
1 parent 97c0dad7ff
commit ab6cd0e89c
2 files changed
+11 -1

No files matched your search

+4
View File
@@ -153,6 +153,10 @@ module Accounts
EncryptedConfig.exists?(key: EncryptedConfig::EMAIL_SMTP_KEY)
end
def can_send_invitation_emails?(_account)
true
end
def normalize_timezone(timezone)
tzinfo = TZInfo::Timezone.get(ActiveSupport::TimeZone::MAPPING[timezone] || timezone)