Merge pull request #26152 from nextcloud/backport/26137/stable20

[stable20] dont allow creating users with __groupfolders as uid
This commit is contained in:
Morris Jobke 2021-03-17 20:06:56 +01:00 committed by GitHub
commit c4da8d4e55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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',