summaryrefslogtreecommitdiffstats
path: root/modules/auth
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-09-11 13:32:33 -0400
committerUnknwon <u@gogs.io>2015-09-11 13:32:33 -0400
commit362d64df0483700ac435c4b05709265378887a4e (patch)
treefb367bbd236ea7707df0d9d5bbfe5d95a19dca0a /modules/auth
parent373ef5d15e1c2781bf47750554cb21e4ed5446c1 (diff)
downloadgitea-362d64df0483700ac435c4b05709265378887a4e.tar.gz
gitea-362d64df0483700ac435c4b05709265378887a4e.zip
#1620 add allowed domains for SMTP auth
Diffstat (limited to 'modules/auth')
-rw-r--r--modules/auth/auth_form.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/auth/auth_form.go b/modules/auth/auth_form.go
index 83f8f4ebd8..d18e9fd6f9 100644
--- a/modules/auth/auth_form.go
+++ b/modules/auth/auth_form.go
@@ -28,6 +28,7 @@ type AuthenticationForm struct {
SMTPAuth string
SMTPHost string
SMTPPort int
+ AllowedDomains string
TLS bool
SkipVerify bool
AllowAutoRegister bool