summaryrefslogtreecommitdiffstats
path: root/.gitpod.yml
diff options
context:
space:
mode:
authorzeripath <art27@cantab.net>2022-11-27 19:45:59 +0000
committerGitHub <noreply@github.com>2022-11-27 19:45:59 +0000
commit888384a63181af9183ecfe134961588f1a842b37 (patch)
treed01c50a8023737a8f1df825d3a19d5a149beced6 /.gitpod.yml
parentcddceb9dcacc769ffe21470fee928641ba92ec79 (diff)
downloadgitea-888384a63181af9183ecfe134961588f1a842b37.tar.gz
gitea-888384a63181af9183ecfe134961588f1a842b37.zip
Correct the fallbacks for mailer configuration (#21945) (#21953)
Backport #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>
Diffstat (limited to '.gitpod.yml')
0 files changed, 0 insertions, 0 deletions