1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-22 18:28:37 +00:00

Add LDAP over SSL support

This commit is contained in:
Sebastian Jackel
2014-05-15 14:21:27 +02:00
parent f5b2e5f836
commit eb264a112b
6 changed files with 36 additions and 6 deletions

View File

@@ -53,6 +53,14 @@
</div>
</div>
<div class="form-group {{if .Err_UseSSL}}has-error has-feedback{{end}}">
<label class="col-md-3 control-label">Use SSL: </label>
<div class="col-md-7">
<input name="usessl" class="form-control" type="checkbox" {{if .Source.LDAP.UseSSL}}checked{{end}}>
</div>
</div>
<div class="form-group {{if .Err_BaseDN}}has-error has-feedback{{end}}">
<label class="col-md-3 control-label">Base DN: </label>
<div class="col-md-7">
@@ -147,4 +155,4 @@
</div>
</div>
{{template "base/footer" .}}
{{template "base/footer" .}}

View File

@@ -51,6 +51,13 @@
</div>
</div>
<div class="form-group {{if .Err_UseSSL}}has-error has-feedback{{end}}">
<label class="col-md-3 control-label">Use SSL: </label>
<div class="col-md-7">
<input name="usessl" class="form-control" type="checkbox" {{if .usessl}}checked{{end}}>
</div>
</div>
<div class="form-group {{if .Err_BaseDN}}has-error has-feedback{{end}}">
<label class="col-md-3 control-label">Base DN: </label>
<div class="col-md-7">
@@ -158,4 +165,4 @@
});
});
</script>
{{template "base/footer" .}}
{{template "base/footer" .}}