diff --git a/CHANGELOG.md b/CHANGELOG.md index b489aabced..1b6bcd9d30 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ HumHub Changelog 1.12.2 (Unreleased) ------------------- - Fix #5851: Admin User Settings cannot saved +- Fix #5856: Fix SMTPS Config Migration 1.12.1 (August 15, 2022) diff --git a/protected/humhub/migrations/m220606_205507_mailer_settings.php b/protected/humhub/migrations/m220606_205507_mailer_settings.php index deeffb6693..3c3ae12200 100644 --- a/protected/humhub/migrations/m220606_205507_mailer_settings.php +++ b/protected/humhub/migrations/m220606_205507_mailer_settings.php @@ -15,7 +15,7 @@ class m220606_205507_mailer_settings extends Migration { $setting = Setting::findOne(['name' => 'mailer.encryption', 'module_id' => 'base']); if ($setting !== null) { - if ($setting->value === 'tls' || $setting->value === 'ssl') { + if ($setting->value === 'ssl') { Yii::$app->settings->set('mailer.useSmtps', true); } $setting->delete();