diff options
author | Björn Schießle <schiessle@owncloud.com> | 2016-04-26 16:19:10 +0200 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2016-11-21 11:29:54 +0100 |
commit | de1f3f05fdb47b4cde9b8cde468d54cdc856ef08 (patch) | |
tree | ec9698e052c43ff9269bbede604c51dcb4e6fb7a /settings/routes.php | |
parent | 1700e3dcccc4edbb48f583b055ba3fed539a8b42 (diff) | |
download | nextcloud-server-de1f3f05fdb47b4cde9b8cde468d54cdc856ef08.tar.gz nextcloud-server-de1f3f05fdb47b4cde9b8cde468d54cdc856ef08.zip |
allow to change display names in the user settings again
keep display name and email address in sync with the accounts table
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'settings/routes.php')
-rw-r--r-- | settings/routes.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/settings/routes.php b/settings/routes.php index d4286cd56ff..62cfc398fdc 100644 --- a/settings/routes.php +++ b/settings/routes.php @@ -50,7 +50,8 @@ $application->registerRoutes($this, [ ['name' => 'AppSettings#viewApps', 'url' => '/settings/apps', 'verb' => 'GET'], ['name' => 'AppSettings#listApps', 'url' => '/settings/apps/list', 'verb' => 'GET'], ['name' => 'SecuritySettings#trustedDomains', 'url' => '/settings/admin/security/trustedDomains', 'verb' => 'POST'], - ['name' => 'Users#saveUserSettings', 'url' => '/settings/users/{username}/settings', 'verb' => 'PUT'], + ['name' => 'Users#setDisplayName', 'url' => '/settings/users/{username}/displayName', 'verb' => 'POST'], + ['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'], ['name' => 'LogSettings#getEntries', 'url' => '/settings/admin/log/entries', 'verb' => 'GET'], |