From: Robin Appelman Date: Mon, 15 Mar 2021 20:09:12 +0000 (+0100) Subject: dont allow creating users with __groupfolders as uid X-Git-Tag: v20.0.9RC1~44^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=refs%2Fpull%2F26152%2Fhead;p=nextcloud-server.git dont allow creating users with __groupfolders as uid Fixes https://github.com/nextcloud/groupfolders/issues/338 Signed-off-by: Robin Appelman --- 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',