mirror of
https://github.com/nextcloud/server.git
synced 2026-04-21 06:08:46 -04:00
precaution: lowercase string for comparison
This commit is contained in:
parent
e07ebdd7d0
commit
11f7823e1b
1 changed files with 1 additions and 1 deletions
|
|
@ -137,7 +137,7 @@ class Manager {
|
|||
return $this->users['byUid'][$id];
|
||||
}
|
||||
|
||||
if(strpos($id, 'dc=') === false) {
|
||||
if(strpos(mb_strtolower($id, 'UTF-8'), 'dc=') === false) {
|
||||
//most likely a uid
|
||||
$dn = $this->access->username2dn($id);
|
||||
if($dn !== false) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue