1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-05-11 05:55:29 +00:00

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
d60c438694

This PR reverts these unrelated changes, fix #21744
This commit is contained in:
wxiaoguang
2022-11-11 05:12:23 +08:00
committed by GitHub
parent 92525ddffd
commit fb704f6c72
6 changed files with 11 additions and 11 deletions

View File

@@ -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)"`