diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/squid.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/squid.inc b/packages/squid.inc index a02599c7..db5f57bd 100644 --- a/packages/squid.inc +++ b/packages/squid.inc @@ -280,7 +280,7 @@ function squid_validate_auth($post, $input_errors) { $user = trim($post['ldap_user']); if (empty($user)) $input_errors[] = 'The field \'LDAP server user DN\' is required'; - else if (!is_domain($user)) + else if (!$user) $input_errors[] = 'The field \'LDAP server user DN\' must be a valid domain name'; break; case 'radius': |