1
0
Fork 0
forked from forgejo/forgejo

Revert unrelated changes for SMTP auth (#21767) (#21768)

Backport #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

Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
This commit is contained in:
wxiaoguang 2022-11-11 05:11:56 +08:00 committed by GitHub
parent 87d05d376d
commit 3aacc9b4ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 11 additions and 11 deletions

View file

@ -19,7 +19,7 @@ import (
// Source holds configuration for the SMTP login source.
type Source struct {
Auth string
Addr string
Host string
Port int
AllowedDomains string `xorm:"TEXT"`
ForceSMTPS bool