Merge pull request #3488 from zafi/master

The "lost password" field in the personal setting depends on OC_USER_BACKEND_SET_PASSWORD
This commit is contained in:
blizzz 2013-05-28 02:39:02 -07:00
commit 3beff3fdc2
1 changed files with 6 additions and 0 deletions

View File

@ -63,6 +63,9 @@ if($_['displayNameChangeSupported']) {
} }
?> ?>
<?php
if($_['passwordChangeSupported']) {
?>
<form id="lostpassword"> <form id="lostpassword">
<fieldset class="personalblock"> <fieldset class="personalblock">
<legend><strong><?php p($l->t('Email'));?></strong></legend> <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> <em><?php p($l->t('Fill in an email address to enable password recovery'));?></em>
</fieldset> </fieldset>
</form> </form>
<?php
}
?>
<form> <form>
<fieldset class="personalblock"> <fieldset class="personalblock">