mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-21 01:14:31 +08:00
f6fd501841
Unfortunately the fallback configuration code for [mailer] that were added in #18982 are incorrect. When you read a value from an ini section that key is added. This leads to a failure of the fallback mechanism. Further there is also a spelling mistake in the startTLS configuration. This PR restructures the mailer code to first map the deprecated settings on to the new ones - and then use ini.MapTo to map those on to the struct with additional validation as necessary. Ref #21744 Signed-off-by: Andrew Thornton <art27@cantab.net> |
||
---|---|---|
.. | ||
attachment.go | ||
cache.go | ||
cors.go | ||
cron_test.go | ||
cron.go | ||
database_sqlite.go | ||
database_test.go | ||
database.go | ||
directory.go | ||
federation.go | ||
git.go | ||
i18n.go | ||
indexer_test.go | ||
indexer.go | ||
lfs.go | ||
log.go | ||
mailer.go | ||
markup.go | ||
migrations.go | ||
mime_type_map.go | ||
mirror.go | ||
oauth2_client.go | ||
packages_test.go | ||
packages.go | ||
picture.go | ||
project.go | ||
proxy.go | ||
queue.go | ||
repository.go | ||
service.go | ||
session.go | ||
setting_test.go | ||
setting.go | ||
storage_test.go | ||
storage.go | ||
task.go | ||
webhook.go |