diff options
author | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2021-09-01 15:58:16 +0200 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2021-09-09 19:23:05 +0200 |
commit | 763136ab48cc54fda27fa137392020fda900e114 (patch) | |
tree | 06d7eba29ac55c6f85664fcfc3b1c3e761b46d2e /apps/provisioning_api/lib | |
parent | 27865d03c014e3b644408c32967cc7e7a56bf692 (diff) | |
download | nextcloud-server-763136ab48cc54fda27fa137392020fda900e114.tar.gz nextcloud-server-763136ab48cc54fda27fa137392020fda900e114.zip |
also allow admins to set the primary email
- there will be times when it is necessary to reset this value for sure
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/provisioning_api/lib')
-rw-r--r-- | apps/provisioning_api/lib/Controller/UsersController.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/provisioning_api/lib/Controller/UsersController.php b/apps/provisioning_api/lib/Controller/UsersController.php index af7c641f01a..dd8397a8a89 100644 --- a/apps/provisioning_api/lib/Controller/UsersController.php +++ b/apps/provisioning_api/lib/Controller/UsersController.php @@ -777,6 +777,7 @@ class UsersController extends AUserData { $permittedFields[] = IAccountManager::PROPERTY_WEBSITE; $permittedFields[] = IAccountManager::PROPERTY_TWITTER; $permittedFields[] = self::USER_FIELD_QUOTA; + $permittedFields[] = self::USER_FIELD_NOTIFICATION_EMAIL; } else { // No rights throw new OCSException('', OCSController::RESPOND_NOT_FOUND); |