diff options
author | zafi <zafirakis.daniel@gmail.com> | 2013-05-25 09:03:07 +0200 |
---|---|---|
committer | zafi <zafirakis.daniel@gmail.com> | 2013-05-25 09:03:07 +0200 |
commit | f314eb8f722b78a4d27d7591521f014d74cac180 (patch) | |
tree | 73a5ec1fbeeea6a09a683c60ffab0e2380838ed8 | |
parent | 6a6c18dfab494324d5fa7c2ea7a299830dd79612 (diff) | |
download | nextcloud-server-f314eb8f722b78a4d27d7591521f014d74cac180.tar.gz nextcloud-server-f314eb8f722b78a4d27d7591521f014d74cac180.zip |
The "lost password" field depends on OC_USER_BACKEND_SET_PASSWORD
so it should only be visible for users with a supporting backend.
-rw-r--r-- | settings/templates/personal.php | 6 |
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"> |