diff options
author | Arthur Schiwon <blizzz@owncloud.com> | 2013-02-05 17:58:35 +0400 |
---|---|---|
committer | Arthur Schiwon <blizzz@owncloud.com> | 2013-02-05 22:26:00 +0400 |
commit | 5221ee0c5aaca5588e20683f397fec9d1d6e98c7 (patch) | |
tree | ceb42e65f80c08d8faf8fae48fea3f19577628e2 /settings/personal.php | |
parent | e6400b305987977d867f1592f3231167903b70b1 (diff) |
offer change password only when the action is supported by the user backend
Diffstat (limited to 'settings/personal.php')
-rw-r--r-- | settings/personal.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/settings/personal.php b/settings/personal.php index 4624bda8397..a2e510a6d3c 100644 --- a/settings/personal.php +++ b/settings/personal.php @@ -47,6 +47,7 @@ $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())); $forms=OC_App::getForms('personal'); $tmpl->assign('forms', array()); |