summaryrefslogtreecommitdiffstats
path: root/settings/Controller
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2019-06-14 17:28:50 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2019-06-19 17:04:35 +0200
commitbbe2f2535a5207b2b998cae8079a488541baf100 (patch)
tree8766f9169debcceae878d43bae97e8ae6d8314db /settings/Controller
parent660fbd64e34fccb26f1a38d1b67da5618e624875 (diff)
downloadnextcloud-server-bbe2f2535a5207b2b998cae8079a488541baf100.tar.gz
nextcloud-server-bbe2f2535a5207b2b998cae8079a488541baf100.zip
makes users management page aware of the introduced options
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'settings/Controller')
-rw-r--r--settings/Controller/UsersController.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/settings/Controller/UsersController.php b/settings/Controller/UsersController.php
index 55ef267d8b7..63d729b282c 100644
--- a/settings/Controller/UsersController.php
+++ b/settings/Controller/UsersController.php
@@ -246,6 +246,8 @@ class UsersController extends Controller {
// Settings
$serverData['defaultQuota'] = $defaultQuota;
$serverData['canChangePassword'] = $canChangePassword;
+ $serverData['newUserGenerateUserID'] = $this->config->getAppValue('settings', 'newUser.generateUserID', '0') === '1';
+ $serverData['newUserRequireEmail'] = $this->config->getAppValue('settings', 'newUser.requireEmail', '0') === '1';
return new TemplateResponse('settings', 'settings-vue', ['serverData' => $serverData]);
}