|
@ -40,12 +40,12 @@ |
|
|
<label for="port">{{.i18n.Tr "admin.auths.port"}}</label> |
|
|
<label for="port">{{.i18n.Tr "admin.auths.port"}}</label> |
|
|
<input id="port" name="port" value="{{.port}}" placeholder="e.g. 636"> |
|
|
<input id="port" name="port" value="{{.port}}" placeholder="e.g. 636"> |
|
|
</div> |
|
|
</div> |
|
|
<div class="ldap required field {{if not (eq .type 2)}}hide{{end}}"> |
|
|
|
|
|
|
|
|
<div class="ldap field {{if not (eq .type 2)}}hide{{end}}"> |
|
|
<label for="bind_dn">{{.i18n.Tr "admin.auths.bind_dn"}}</label> |
|
|
<label for="bind_dn">{{.i18n.Tr "admin.auths.bind_dn"}}</label> |
|
|
<input id="bind_dn" name="bind_dn" value="{{.bind_dn}}" placeholder="e.g. cn=Search,dc=mydomain,dc=com"> |
|
|
<input id="bind_dn" name="bind_dn" value="{{.bind_dn}}" placeholder="e.g. cn=Search,dc=mydomain,dc=com"> |
|
|
</div> |
|
|
</div> |
|
|
<input class="fake" type="password"> |
|
|
<input class="fake" type="password"> |
|
|
<div class="ldap required field {{if not (eq .type 2)}}hide{{end}}"> |
|
|
|
|
|
|
|
|
<div class="ldap field {{if not (eq .type 2)}}hide{{end}}"> |
|
|
<label for="bind_password">{{.i18n.Tr "admin.auths.bind_password"}}</label> |
|
|
<label for="bind_password">{{.i18n.Tr "admin.auths.bind_password"}}</label> |
|
|
<input id="bind_password" name="bind_password" type="password" value="{{.bind_password}}"> |
|
|
<input id="bind_password" name="bind_password" type="password" value="{{.bind_password}}"> |
|
|
<p class="help text red">{{.i18n.Tr "admin.auths.bind_password_helper"}}</p> |
|
|
<p class="help text red">{{.i18n.Tr "admin.auths.bind_password_helper"}}</p> |
|
|