return badRequest(views.html.system.ldap.index.render(currentUser(), breadcrumbs(), form));
}
final LdapSettingsRequest formValue = form.get();
try {
final LdapSettings settings = ldapSettingsService.create(formValue);
if (settings.save()) {
flash("success", "LDAP settings updated");
} else {
flash("error", "Unable to update LDAP settings!");
}
} catch (RuntimeException e) {