From 1089d8545b2ad7e6f275186561cfe518c6746882 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Mon, 15 Mar 2021 21:09:12 +0100 Subject: [PATCH] dont allow creating users with __groupfolders as uid Fixes https://github.com/nextcloud/groupfolders/issues/338 Signed-off-by: Robin Appelman --- lib/private/User/Manager.php | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/private/User/Manager.php b/lib/private/User/Manager.php index 036d2703d3..5223a80a2f 100644 --- a/lib/private/User/Manager.php +++ b/lib/private/User/Manager.php @@ -681,6 +681,7 @@ class Manager extends PublicEmitter implements IUserManager { if (\in_array($uid, [ '.htaccess', 'files_external', + '__groupfolders', '.ocdata', 'owncloud.log', 'nextcloud.log',