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:
authorzafi <zafirakis.daniel@gmail.com>2013-05-25 11:03:07 +0400
committerMorris Jobke <morris.jobke@gmail.com>2013-05-28 15:17:07 +0400
commit621d18f77d269141e4555835e268d7525f94dd83 (patch)
treefdba9b0b390d31bc1367c50ff4c6cfc8e03740ac /settings
parent0c5bd4e578f9d812249afd845bd1828a01e1a386 (diff)
The "lost password" field depends on OC_USER_BACKEND_SET_PASSWORD
so it should only be visible for users with a supporting backend.
Diffstat (limited to 'settings')
-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 f3fd3f1010d..3c7179d6e6a 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -65,6 +65,9 @@ if($_['displayNameChangeSupported']) {
}
?>
+<?php
+if($_['passwordChangeSupported']) {
+?>
<form id="lostpassword">
<fieldset class="personalblock">
<legend><strong><?php p($l->t('Email'));?></strong></legend>
@@ -73,6 +76,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">