|
|
@ -34,14 +34,14 @@ |
|
|
|
<input id="port" name="port" value="{{$cfg.Port}}" placeholder="e.g. 636" required> |
|
|
|
</div> |
|
|
|
{{if .Source.IsLDAP}} |
|
|
|
<div class="required field"> |
|
|
|
<div class="field"> |
|
|
|
<label for="bind_dn">{{.i18n.Tr "admin.auths.bind_dn"}}</label> |
|
|
|
<input id="bind_dn" name="bind_dn" value="{{$cfg.BindDN}}" placeholder="e.g. cn=Search,dc=mydomain,dc=com" required> |
|
|
|
<input id="bind_dn" name="bind_dn" value="{{$cfg.BindDN}}" placeholder="e.g. cn=Search,dc=mydomain,dc=com"> |
|
|
|
</div> |
|
|
|
<input class="fake" type="password"> |
|
|
|
<div class="required field"> |
|
|
|
<div class="field"> |
|
|
|
<label for="bind_password">{{.i18n.Tr "admin.auths.bind_password"}}</label> |
|
|
|
<input id="bind_password" name="bind_password" type="password" value="{{$cfg.BindPassword}}" required> |
|
|
|
<input id="bind_password" name="bind_password" type="password" value="{{$cfg.BindPassword}}"> |
|
|
|
<p class="help text red">{{.i18n.Tr "admin.auths.bind_password_helper"}}</p> |
|
|
|
</div> |
|
|
|
<div class="required field"> |
|
|
|