summaryrefslogtreecommitdiffstats
path: root/templates/admin/auth/new.tmpl
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-08-29 15:45:58 +0800
committerUnknwon <u@gogs.io>2015-08-29 15:45:58 +0800
commitea454c21f776a0fd4f7d3a64218bea6e743e5dce (patch)
tree5c2b6e55a0cf9e6cf9b7bc21a1437a1bc7ab5655 /templates/admin/auth/new.tmpl
parent384fbeca801180c2f156e916bf69324590472e03 (diff)
downloadgitea-ea454c21f776a0fd4f7d3a64218bea6e743e5dce.tar.gz
gitea-ea454c21f776a0fd4f7d3a64218bea6e743e5dce.zip
#1542 A way to skip TLS verify for SMTP authentication
Diffstat (limited to 'templates/admin/auth/new.tmpl')
-rw-r--r--templates/admin/auth/new.tmpl4
1 files changed, 4 insertions, 0 deletions
diff --git a/templates/admin/auth/new.tmpl b/templates/admin/auth/new.tmpl
index 4e9e2f8ef3..f16db0a513 100644
--- a/templates/admin/auth/new.tmpl
+++ b/templates/admin/auth/new.tmpl
@@ -102,6 +102,10 @@
<input name="tls" type="checkbox" {{if .tls}}checked{{end}}>
<strong>{{.i18n.Tr "admin.auths.enable_tls"}}</strong>
<br>
+ <label></label>
+ <input name="skip_verify" type="checkbox" {{if .skip_verify}}checked{{end}}>
+ <strong>{{.i18n.Tr "admin.auths.skip_tls_verify"}}</strong>
+ <br>
</div>
<label></label>
<input name="allowautoregister" type="checkbox" {{if .allowautoregister}}checked{{end}}>