Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2013-02-05 17:58:35 +0400
committerArthur Schiwon <blizzz@owncloud.com>2013-02-05 22:26:00 +0400
commit5221ee0c5aaca5588e20683f397fec9d1d6e98c7 (patch)
treeceb42e65f80c08d8faf8fae48fea3f19577628e2 /settings/personal.php
parente6400b305987977d867f1592f3231167903b70b1 (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.php1
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());