Skip to content

Commit

Permalink
dont allow creating users with __groupfolders as uid
Browse files Browse the repository at this point in the history
Fixes nextcloud/groupfolders#338

Signed-off-by: Robin Appelman <robin@icewind.nl>
  • Loading branch information
icewind1991 authored and backportbot[bot] committed Mar 16, 2021
1 parent 120aefb commit 1089d85
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 1089d85

Please sign in to comment.