The "lost password" field depends on OC_USER_BACKEND_SET_PASSWORD

so it should only be visible for users with a supporting backend.
This commit is contained in:
zafi 2013-05-25 09:03:07 +02:00
parent 6a6c18dfab
commit f314eb8f72
1 changed files with 6 additions and 0 deletions

View File

@ -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">