[MAILER][WRAPPER] Add mailer wrapper that respects the configuration

This commit is contained in:
Hugo Sales
2020-07-25 01:57:34 +00:00
committed by Hugo Sales
parent 7c35fde8bc
commit 7a7f7d3ae1
3 changed files with 66 additions and 1 deletions

View File

@@ -51,6 +51,7 @@ abstract class DefaultSettings
'detect_language' => true,
'languages' => I18n::getAllLanguages(),
'email' => $_ENV['SERVER_ADMIN'] ?? $_ENV['SOCIAL_ADMIN_EMAIL'] ?? null,
'use_email' => false, // TODO
'recovery_disclose' => false, // Whether to not say that we found the email in the database, when asking for recovery
'timezone' => 'UTC',
'brought_by' => null,