Skip to content
Snippets Groups Projects
Commit 22a8e7ad authored by Arthur Schiwon's avatar Arthur Schiwon
Browse files

LDAP: remove restriction from group names to be in line with core behaviour again

parent 9c3b83e2
No related branches found
No related tags found
No related merge requests found
......@@ -317,7 +317,7 @@ abstract class Access {
}
$ldapname = $ldapname[0];
}
$intname = $isUser ? $this->sanitizeUsername($uuid) : $this->sanitizeUsername($ldapname);
$intname = $isUser ? $this->sanitizeUsername($uuid) : $ldapname;
//a new user/group! Add it only if it doesn't conflict with other backend's users or existing groups
//disabling Cache is required to avoid that the new user is cached as not-existing in fooExists check
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment