diff options
author | Unknwon <u@gogs.io> | 2015-08-29 15:45:58 +0800 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-08-29 15:45:58 +0800 |
commit | ea454c21f776a0fd4f7d3a64218bea6e743e5dce (patch) | |
tree | 5c2b6e55a0cf9e6cf9b7bc21a1437a1bc7ab5655 /modules/auth | |
parent | 384fbeca801180c2f156e916bf69324590472e03 (diff) | |
download | gitea-ea454c21f776a0fd4f7d3a64218bea6e743e5dce.tar.gz gitea-ea454c21f776a0fd4f7d3a64218bea6e743e5dce.zip |
#1542 A way to skip TLS verify for SMTP authentication
Diffstat (limited to 'modules/auth')
-rw-r--r-- | modules/auth/auth_form.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/auth/auth_form.go b/modules/auth/auth_form.go index bfae4b13c4..b2d427b4b8 100644 --- a/modules/auth/auth_form.go +++ b/modules/auth/auth_form.go @@ -29,7 +29,8 @@ type AuthenticationForm struct { SMTPHost string `form:"smtp_host"` SMTPPort int `form:"smtp_port"` TLS bool `form:"tls"` - AllowAutoRegister bool `form:"allowautoregister"` + SkipVerify bool + AllowAutoRegister bool `form:"allowautoregister"` PAMServiceName string } |