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

Merge pull request #192 from DerDackel/ldapssl

Add LDAP over SSL support
This commit is contained in:
Lunny Xiao
2014-05-15 20:52:05 +08:00
8 changed files with 104 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">
@@ -150,4 +158,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" .}}