Move include/user to src #462

Merged
MrPetovan merged 3 commits from task/3942-move-user-to-src into master 2017-12-04 10:33:02 +01:00
Showing only changes of commit 8bfe13246d - Show all commits

View file

@ -89,7 +89,7 @@ function ldapauth_authenticate($username, $password)
$ldap_autocreateaccount_emailattribute = Config::get('ldapauth', 'ldap_autocreateaccount_emailattribute');
$ldap_autocreateaccount_nameattribute = Config::get('ldapauth', 'ldap_autocreateaccount_nameattribute');
if (!((strlen($password)) && (function_exists('ldap_connect')) && (strlen($ldap_server)))) {
if (!(strlen($password) && function_exists('ldap_connect') && strlen($ldap_server))) {
logger("ldapauth: not configured or missing php-ldap module");
return false;
}