diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2018-07-05 11:29:19 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2018-07-05 11:50:49 +0200 |
commit | 846ab25fc0dc34b2456d5a7914298006d06ddaee (patch) | |
tree | 77829c3060197f70112469c33449d28dd78e86ed /apps/user_ldap/lib | |
parent | 343036e55c0b41891fc86aafc0cbb3077503ab64 (diff) | |
download | nextcloud-server-846ab25fc0dc34b2456d5a7914298006d06ddaee.tar.gz nextcloud-server-846ab25fc0dc34b2456d5a7914298006d06ddaee.zip |
adjust and add more unit tests
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/user_ldap/lib')
-rw-r--r-- | apps/user_ldap/lib/Configuration.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/user_ldap/lib/Configuration.php b/apps/user_ldap/lib/Configuration.php index 3871003fae9..25d64859596 100644 --- a/apps/user_ldap/lib/Configuration.php +++ b/apps/user_ldap/lib/Configuration.php @@ -568,7 +568,7 @@ class Configuration { if($attribute === '') { return $defaultAttributes; } - return [$attribute]; + return [strtolower($attribute)]; } if($value !== self::AVATAR_PREFIX_DEFAULT) { \OC::$server->getLogger()->warning('Invalid config value to ldapUserAvatarRule; falling back to default.'); |