diff options
author | Robin Appelman <robin@icewind.nl> | 2021-03-15 21:09:12 +0100 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2021-03-16 19:03:10 +0100 |
commit | dd477d30f90b59d276b1d9260bf1752c02ad1306 (patch) | |
tree | 6b4f1ae3e593c15c83c3dbea1d2e263d65fb8fb7 /lib/private/User | |
parent | f1e2fb426e107f10f49f5c49535df04f7debf191 (diff) | |
download | nextcloud-server-dd477d30f90b59d276b1d9260bf1752c02ad1306.tar.gz nextcloud-server-dd477d30f90b59d276b1d9260bf1752c02ad1306.zip |
dont allow creating users with __groupfolders as uid
Fixes https://github.com/nextcloud/groupfolders/issues/338
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'lib/private/User')
-rw-r--r-- | lib/private/User/Manager.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/User/Manager.php b/lib/private/User/Manager.php index 036d2703d35..5223a80a2fd 100644 --- a/lib/private/User/Manager.php +++ b/lib/private/User/Manager.php @@ -681,6 +681,7 @@ class Manager extends PublicEmitter implements IUserManager { if (\in_array($uid, [ '.htaccess', 'files_external', + '__groupfolders', '.ocdata', 'owncloud.log', 'nextcloud.log', |