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
committerzafi <zafirakis.daniel@gmail.com>2013-05-25 11:03:07 +0400
commitf314eb8f722b78a4d27d7591521f014d74cac180 (patch)
tree73a5ec1fbeeea6a09a683c60ffab0e2380838ed8 /settings/templates
parent6a6c18dfab494324d5fa7c2ea7a299830dd79612 (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/templates')
-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">