0
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-12-02 07:34:49 +01:00
gitea/docs/content/doc/advanced
zeripath f6fd501841
Correct the fallbacks for mailer configuration (#21945)
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>
2022-11-27 10:08:40 +00:00
..
adding-legal-pages.en-us.md
clone-filter.en-us.md
cmd-embedded.en-us.md
config-cheat-sheet.en-us.md Correct the fallbacks for mailer configuration (#21945) 2022-11-27 10:08:40 +00:00
config-cheat-sheet.zh-cn.md Add option to enable CAPTCHA validation for login (#21638) 2022-11-22 21:13:18 +00:00
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 Clarify logging documentation (#21665) 2022-11-22 09:04:29 +08:00
mail-templates.en-us.md
protected-tags.en-us.md
repo-indexer.en-us.md
repo-mirror.en-us.md Improve pull/ push mirror documentation (especially for GitHub) (#21801) 2022-11-14 21:17:39 +00:00
search-engines-indexation.en-us.md
signing.en-us.md