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:
parent
6a6c18dfab
commit
f314eb8f72
|
@ -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">
|
||||||
|
|
Loading…
Reference in New Issue