* [MOD] Improved LDAP import

* [ADD] Groups import from LDAP
* [MOD] Improved LDAP auth behavior
* [MOD] Config data is always cloned on every request
* [MOD] Improved non RSA encrypted data detection
* [MOD] Code refactoring
This commit is contained in:
nuxsmin
2018-03-01 00:49:00 +01:00
parent bfefa194ef
commit 3504e66c9c
41 changed files with 1726 additions and 947 deletions

View File

@@ -480,8 +480,8 @@ class UserRepository extends Repository implements RepositoryItemInterface
'SELECT login, email
FROM User
WHERE UPPER(login) = UPPER(?)
OR UPPER(ssoLogin) = UPPER(?)
OR UPPER(email) = UPPER(?)';
OR UPPER(?) IN (SELECT ssoLogin FROM User WHERE ssoLogin IS NOT NULL OR ssoLogin <> \'\')
OR UPPER(?) IN (SELECT email FROM User WHERE email IS NOT NULL OR email <> \'\')';
$queryData = new QueryData();
$queryData->setQuery($query);