aboutsummaryrefslogtreecommitdiffstats
path: root/services/forms/auth_form.go
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2022-11-11 05:12:23 +0800
committerGitHub <noreply@github.com>2022-11-10 16:12:23 -0500
commitfb704f6c7248a13b29300e161bd28c52115aeb22 (patch)
tree4e0e025a8e3e01bc9e7a29d67bc4b011afe404dc /services/forms/auth_form.go
parent92525ddffd8256a2cd9d10c55eca753073ffce8e (diff)
downloadgitea-fb704f6c7248a13b29300e161bd28c52115aeb22.tar.gz
gitea-fb704f6c7248a13b29300e161bd28c52115aeb22.zip
Revert unrelated changes for SMTP auth (#21767)
The purpose of #18982 is to improve the SMTP mailer, but there were some unrelated changes made to the SMTP auth in https://github.com/go-gitea/gitea/pull/18982/commits/d60c43869420f5fc43ad19b454c9ae50dad65964 This PR reverts these unrelated changes, fix #21744
Diffstat (limited to 'services/forms/auth_form.go')
-rw-r--r--services/forms/auth_form.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/forms/auth_form.go b/services/forms/auth_form.go
index 9064be2cca..7e7c756752 100644
--- a/services/forms/auth_form.go
+++ b/services/forms/auth_form.go
@@ -45,7 +45,7 @@ type AuthenticationForm struct {
IsActive bool
IsSyncEnabled bool
SMTPAuth string
- SMTPAddr string
+ SMTPHost string
SMTPPort int
AllowedDomains string
SecurityProtocol int `binding:"Range(0,2)"`