summaryrefslogtreecommitdiffstats
path: root/settings/personal.php
diff options
context:
space:
mode:
authorBjörn Schießle <schiessle@owncloud.com>2013-02-06 11:38:03 +0100
committerBjörn Schießle <schiessle@owncloud.com>2013-02-06 11:38:03 +0100
commit9d73e7eb1e0dae044ef386211b214e01624a3364 (patch)
tree11d85b61a0260291f9430d3602591a11f873d8b2 /settings/personal.php
parent335b6cd0609b269b3b8c85baed2eeed94f654c3d (diff)
downloadnextcloud-server-9d73e7eb1e0dae044ef386211b214e01624a3364.tar.gz
nextcloud-server-9d73e7eb1e0dae044ef386211b214e01624a3364.zip
let the user change his display name, if supported by the back-end
Diffstat (limited to 'settings/personal.php')
-rw-r--r--settings/personal.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/settings/personal.php b/settings/personal.php
index a2e510a6d3c..ac2c4704edb 100644
--- a/settings/personal.php
+++ b/settings/personal.php
@@ -48,6 +48,8 @@ $tmpl->assign('usage_relative', $storageInfo['relative']);
$tmpl->assign('email', $email);
$tmpl->assign('languages', $languages);
$tmpl->assign('passwordChangeSupported', OC_User::canUserChangePassword(OC_User::getUser()));
+$tmpl->assign('displayNameChangeSupported', OC_User::canUserChangeDisplayName(OC_User::getUser()));
+$tmpl->assign('displayName', OC_User::getDisplayName());
$forms=OC_App::getForms('personal');
$tmpl->assign('forms', array());