]> source.dussan.org Git - nextcloud-server.git/commitdiff
dont allow creating users with __groupfolders as uid 26152/head
authorRobin Appelman <robin@icewind.nl>
Mon, 15 Mar 2021 20:09:12 +0000 (21:09 +0100)
committerbackportbot[bot] <backportbot[bot]@users.noreply.github.com>
Tue, 16 Mar 2021 18:51:58 +0000 (18:51 +0000)
Fixes https://github.com/nextcloud/groupfolders/issues/338

Signed-off-by: Robin Appelman <robin@icewind.nl>
lib/private/User/Manager.php

index cf40fc19dd2c55574246e1fd3a7e30c78d9da253..ff3ab563003c2974dbb067f4c8856fbb012333b5 100644 (file)
@@ -642,6 +642,7 @@ class Manager extends PublicEmitter implements IUserManager {
                if (\in_array($uid, [
                        '.htaccess',
                        'files_external',
+                       '__groupfolders',
                        '.ocdata',
                        'owncloud.log',
                        'nextcloud.log',