diff options
Diffstat (limited to 'inc')
-rw-r--r-- | inc/auth_ldap.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/auth_ldap.php b/inc/auth_ldap.php index 296b4e9c8..dfd54103b 100644 --- a/inc/auth_ldap.php +++ b/inc/auth_ldap.php @@ -69,6 +69,9 @@ function auth_checkPass($user,$pass){ global $conf; $cnf = $conf['auth']['ldap']; + //reject empty password + if(empty($pass)) return false; + //connect to LDAP Server $conn = auth_ldap_connect(); if(!$conn) return false; |