diff options
author | Sebastian Jackel <sjackel@trustinternational.com> | 2014-05-15 14:21:27 +0200 |
---|---|---|
committer | Sebastian Jackel <sjackel@trustinternational.com> | 2014-05-15 14:27:16 +0200 |
commit | eb264a112b378d1ebdf8e1de076797dd56a0e6b8 (patch) | |
tree | e8b6da2aa0062522503d322dcfc0e2f1472cb553 /templates/admin | |
parent | f5b2e5f836b42946e4221cb7db49e04d40024ba6 (diff) | |
download | gitea-eb264a112b378d1ebdf8e1de076797dd56a0e6b8.tar.gz gitea-eb264a112b378d1ebdf8e1de076797dd56a0e6b8.zip |
Add LDAP over SSL support
Diffstat (limited to 'templates/admin')
-rw-r--r-- | templates/admin/auths/edit.tmpl | 10 | ||||
-rw-r--r-- | templates/admin/auths/new.tmpl | 9 |
2 files changed, 17 insertions, 2 deletions
diff --git a/templates/admin/auths/edit.tmpl b/templates/admin/auths/edit.tmpl index 2c7a5754bf..e1cef8cf92 100644 --- a/templates/admin/auths/edit.tmpl +++ b/templates/admin/auths/edit.tmpl @@ -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" .}}
\ No newline at end of file +{{template "base/footer" .}} diff --git a/templates/admin/auths/new.tmpl b/templates/admin/auths/new.tmpl index e5dcb4339b..d09833fc77 100644 --- a/templates/admin/auths/new.tmpl +++ b/templates/admin/auths/new.tmpl @@ -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" .}}
\ No newline at end of file +{{template "base/footer" .}} |