mirror of
https://codeberg.org/forgejo/forgejo
synced 2024-11-27 04:06:10 +01: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> |
||
---|---|---|
.. | ||
adding-legal-pages.en-us.md | ||
clone-filter.en-us.md | ||
cmd-embedded.en-us.md | ||
config-cheat-sheet.en-us.md | ||
config-cheat-sheet.zh-cn.md | ||
customizing-gitea.en-us.md | ||
customizing-gitea.zh-cn.md | ||
environment-variables.en-us.md | ||
environment-variables.zh-cn.md | ||
external-renderers.en-us.md | ||
logging-documentation.en-us.md | ||
mail-templates.en-us.md | ||
protected-tags.en-us.md | ||
repo-indexer.en-us.md | ||
repo-mirror.en-us.md | ||
search-engines-indexation.en-us.md | ||
signing.en-us.md |