Skip to content

Commit

Permalink
fix #1294 set empty to password field
Browse files Browse the repository at this point in the history
  • Loading branch information
marevol committed Oct 12, 2017
1 parent 8c1389b commit 614544b
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -200,7 +200,8 @@ public static void updateForm(final FessConfig fessConfig, final EditForm form)
form.ldapProviderUrl = fessConfig.getLdapProviderUrl();
form.ldapSecurityPrincipal = fessConfig.getLdapSecurityPrincipal();
form.ldapAdminSecurityPrincipal = fessConfig.getLdapAdminSecurityPrincipal();
form.ldapAdminSecurityCredentials = DUMMY_PASSWORD;//fessConfig.getLdapAdminSecurityCredentials();
form.ldapAdminSecurityCredentials =
StringUtil.isNotBlank(fessConfig.getLdapAdminSecurityCredentials()) ? DUMMY_PASSWORD : StringUtil.EMPTY;
form.ldapBaseDn = fessConfig.getLdapBaseDn();
form.ldapAccountFilter = fessConfig.getLdapAccountFilter();
form.ldapMemberofAttribute = fessConfig.getLdapMemberofAttribute();
Expand Down

0 comments on commit 614544b

Please sign in to comment.