Skip to content

Commit

Permalink
Merge pull request #26151 from nextcloud/backport/26137/stable21
Browse files Browse the repository at this point in the history
[stable21] dont allow creating users with __groupfolders as uid
  • Loading branch information
PVince81 authored Mar 17, 2021
2 parents fd29c1d + 1089d85 commit 215967d
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 @@ -681,6 +681,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 215967d

Please sign in to comment.