aboutsummaryrefslogtreecommitdiffstats
path: root/settings/controller
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2014-12-12 10:21:50 +0100
committerMorris Jobke <hey@morrisjobke.de>2014-12-12 14:19:29 +0100
commit04aaa728103c5ff184a89e8b69bca3f196c52224 (patch)
tree5b2cfabb736379ddaa652ad19c4f364550423a76 /settings/controller
parent6b4502adebf1d756707e8fb5b8ab697c1c746e6b (diff)
downloadnextcloud-server-04aaa728103c5ff184a89e8b69bca3f196c52224.tar.gz
nextcloud-server-04aaa728103c5ff184a89e8b69bca3f196c52224.zip
Show user backend in user management
* add switch to settings to show user backend * user classes for headers and rows to unify the show/hide statement * add user backend to response of user create request * proper markup in settings area
Diffstat (limited to 'settings/controller')
-rw-r--r--settings/controller/userscontroller.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/settings/controller/userscontroller.php b/settings/controller/userscontroller.php
index 589b0a888cb..dd3aa72890e 100644
--- a/settings/controller/userscontroller.php
+++ b/settings/controller/userscontroller.php
@@ -185,7 +185,8 @@ class UsersController extends Controller {
array(
'username' => $username,
'groups' => $this->groupManager->getUserGroupIds($user),
- 'storageLocation' => $user->getHome()
+ 'storageLocation' => $user->getHome(),
+ 'backend' => $user->getBackendClassName()
),
Http::STATUS_CREATED
);