From 279f0d72f33075571995079e7a7515c3c28df8cc 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 cf40fc19dd2..ff3ab563003 100644 --- a/lib/private/User/Manager.php +++ b/lib/private/User/Manager.php @@ -642,6 +642,7 @@ class Manager extends PublicEmitter implements IUserManager { if (\in_array($uid, [ '.htaccess', 'files_external', + '__groupfolders', '.ocdata', 'owncloud.log', 'nextcloud.log', -- 2.39.5