summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorblizzz <blizzz@owncloud.com>2013-05-28 02:39:02 -0700
committerblizzz <blizzz@owncloud.com>2013-05-28 02:39:02 -0700
commit3beff3fdc224a56bf7060291565f5f240012c1ea (patch)
tree532f5034a9624ca98450f5deefda52b9be95c690
parent086c33ef57ddddcad84e9cb21c9e24b5a4c43a5d (diff)
parentf314eb8f722b78a4d27d7591521f014d74cac180 (diff)
downloadnextcloud-server-3beff3fdc224a56bf7060291565f5f240012c1ea.tar.gz
nextcloud-server-3beff3fdc224a56bf7060291565f5f240012c1ea.zip
Merge pull request #3488 from zafi/master
The "lost password" field in the personal setting depends on OC_USER_BACKEND_SET_PASSWORD
-rw-r--r--settings/templates/personal.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index da812e8ed9a..f0002c505c8 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -63,6 +63,9 @@ if($_['displayNameChangeSupported']) {
}
?>
+<?php
+if($_['passwordChangeSupported']) {
+?>
<form id="lostpassword">
<fieldset class="personalblock">
<legend><strong><?php p($l->t('Email'));?></strong></legend>
@@ -71,6 +74,9 @@ if($_['displayNameChangeSupported']) {
<em><?php p($l->t('Fill in an email address to enable password recovery'));?></em>
</fieldset>
</form>
+<?php
+}
+?>
<form>
<fieldset class="personalblock">