Merge pull request #26151 from nextcloud/backport/26137/stable21

[stable21] dont allow creating users with __groupfolders as uid
This commit is contained in:
Vincent Petry 2021-03-17 09:46:37 +01:00 committed by GitHub
commit 215967db96
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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',