Skip to content

Commit

Permalink
Merge pull request #26152 from nextcloud/backport/26137/stable20
Browse files Browse the repository at this point in the history
[stable20] dont allow creating users with __groupfolders as uid
  • Loading branch information
MorrisJobke authored Mar 17, 2021
2 parents 2982fa3 + 279f0d7 commit c4da8d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/private/User/Manager.php
Original file line number Diff line number Diff line change
Expand Up @@ -642,6 +642,7 @@ private function verifyUid(string $uid): bool {
if (\in_array($uid, [
'.htaccess',
'files_external',
'__groupfolders',
'.ocdata',
'owncloud.log',
'nextcloud.log',
Expand Down

0 comments on commit c4da8d4

Please sign in to comment.