diff options
author | zafi <zafirakis.daniel@gmail.com> | 2013-05-25 11:03:07 +0400 |
---|---|---|
committer | Morris Jobke <morris.jobke@gmail.com> | 2013-05-28 15:17:07 +0400 |
commit | 621d18f77d269141e4555835e268d7525f94dd83 (patch) | |
tree | fdba9b0b390d31bc1367c50ff4c6cfc8e03740ac /settings | |
parent | 0c5bd4e578f9d812249afd845bd1828a01e1a386 (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.php | 6 |
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"> |