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
parent f1e2fb426e
commit dd477d30f9
No known key found for this signature in database
GPG Key ID: 42B69D8A64526EFB
1 changed files with 1 additions and 0 deletions

View File

@ -681,6 +681,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',