The "lost password" field depends on OC_USER_BACKEND_SET_PASSWORD

so it should only be visible for users with a supporting backend.
remotes/origin/stable6
zafi 13 years ago
parent 6a6c18dfab
commit f314eb8f72
  1. 6
      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">

Loading…
Cancel
Save