diff options
Diffstat (limited to 'settings/personal.php')
-rw-r--r-- | settings/personal.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/settings/personal.php b/settings/personal.php index 4624bda8397..ac2c4704edb 100644 --- a/settings/personal.php +++ b/settings/personal.php @@ -47,6 +47,9 @@ $tmpl->assign('total_space', OC_Helper::humanFileSize($storageInfo['total'])); $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()); |