mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
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>
This commit is contained in:
parent
27865d03c0
commit
763136ab48
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue