summaryrefslogtreecommitdiffstats
path: root/settings/routes.php
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2016-11-23 23:57:20 +0100
committerBjoern Schiessle <bjoern@schiessle.org>2016-11-25 10:26:48 +0100
commit0de685c5629deb66984e536e5fd20f140228aa3f (patch)
tree7386419957b1faecca0be50a56427fa531166857 /settings/routes.php
parent3fc75073b80a3ffedbcd127e9e75edf567f245a5 (diff)
downloadnextcloud-server-0de685c5629deb66984e536e5fd20f140228aa3f.tar.gz
nextcloud-server-0de685c5629deb66984e536e5fd20f140228aa3f.zip
bring back setEmailAddress for the user management
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'settings/routes.php')
-rw-r--r--settings/routes.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/routes.php b/settings/routes.php
index 62cfc398fdc..3f034d363e2 100644
--- a/settings/routes.php
+++ b/settings/routes.php
@@ -51,6 +51,7 @@ $application->registerRoutes($this, [
['name' => 'AppSettings#listApps', 'url' => '/settings/apps/list', 'verb' => 'GET'],
['name' => 'SecuritySettings#trustedDomains', 'url' => '/settings/admin/security/trustedDomains', 'verb' => 'POST'],
['name' => 'Users#setDisplayName', 'url' => '/settings/users/{username}/displayName', 'verb' => 'POST'],
+ ['name' => 'Users#setEMailAddress', 'url' => '/settings/users/{id}/mailAddress', 'verb' => 'PUT'],
['name' => 'Users#setUserSettings', 'url' => '/settings/users/{username}/settings', 'verb' => 'PUT'],
['name' => 'Users#stats', 'url' => '/settings/users/stats', 'verb' => 'GET'],
['name' => 'LogSettings#setLogLevel', 'url' => '/settings/admin/log/level', 'verb' => 'POST'],