dont allow creating users with __groupfolders as uid

Fixes https://github.com/nextcloud/groupfolders/issues/338

Signed-off-by: Robin Appelman <robin@icewind.nl>
This commit is contained in:
Robin Appelman 2021-03-15 21:09:12 +01:00 committed by backportbot[bot]
parent 2e14150889
commit 279f0d72f3
1 changed files with 1 additions and 0 deletions

View File

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