NetScaler Gateway shows 2 authentication fields when only 1 LDAP Policy is bound:
Put the text “form.append(field_pass2)” in comment in the files:
/netscaler/ns_gui/vpn/js/gateway_login_form_view.js
/var/netscaler/gui/vpn/js/gateway_login_form_view.js
Example:
if (pwc ==2)
{
//form.append(field_pass2);
}