summaryrefslogtreecommitdiffstats
path: root/templates/admin/auths/edit.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/admin/auths/edit.tmpl')
-rw-r--r--templates/admin/auths/edit.tmpl18
1 files changed, 11 insertions, 7 deletions
diff --git a/templates/admin/auths/edit.tmpl b/templates/admin/auths/edit.tmpl
index f2ba68fd27..5747c1ab51 100644
--- a/templates/admin/auths/edit.tmpl
+++ b/templates/admin/auths/edit.tmpl
@@ -115,16 +115,20 @@
<input name="smtpport" class="form-control" placeholder="Type port number" value="{{.Source.SMTP.Port}}">
</div>
</div>
-
- <!-- <div class="form-group {{if .Err_TLS}}has-error has-feedback{{end}}">
- <label class="col-md-3 control-label">TLS: </label>
- <div class="col-md-7">
- <input name="tls" type="checkbox" class="form-control" {{if .Source.SMTP.TLS}}checked{{end}}>
- </div>
- </div> -->
{{end}}
<div class="form-group">
+ {{if eq $type 3}}
+ <div class="col-md-offset-3 col-md-7">
+ <div class="checkbox">
+ <label>
+ <input name="tls" type="checkbox" class="form-control" {{if .Source.SMTP.TLS}}checked{{end}}>
+ <strong>Enable TLS Encryption</strong>
+ </label>
+ </div>
+ </div>
+ {{end}}
+
<div class="col-md-offset-3 col-md-7">
<div class="checkbox">
<label>