summaryrefslogtreecommitdiffstats
path: root/settings/personal.php
diff options
context:
space:
mode:
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());