hide password recovery note if email address can't be set
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
This commit is contained in:
parent
2f517899a2
commit
9e66d5d7cf
1 changed files with 4 additions and 2 deletions
|
@ -97,8 +97,10 @@
|
|||
<?php if(!$_['displayNameChangeSupported']) { ?>
|
||||
<span><?php if(isset($_['email']) && !empty($_['email'])) { p($_['email']); } else { p($l->t('No email address set')); }?></span>
|
||||
<?php } ?>
|
||||
<br />
|
||||
<em><?php p($l->t('For password recovery and notifications')); ?></em>
|
||||
<?php if($_['displayNameChangeSupported']) { ?>
|
||||
<br />
|
||||
<em><?php p($l->t('For password recovery and notifications')); ?></em>
|
||||
<?php } ?>
|
||||
<span class="icon-checkmark hidden"/>
|
||||
<input type="hidden" id="emailscope" value="<?php p($_['emailScope']) ?>">
|
||||
</form>
|
||||
|
|
Loading…
Reference in a new issue