nextcloud/core/lostpassword/templates/lostpassword.php

19 lines
743 B
PHP
Raw Normal View History

2011-09-26 01:33:22 +04:00
<form action="index.php" method="post">
<fieldset>
<?php echo $l->t('You will receive a link to reset your password via Email.'); ?>
<?php if ($_['requested']): ?>
<?php echo $l->t('Requested'); ?>
<?php else: ?>
<?php if ($_['error']): ?>
<?php echo $l->t('Login failed!'); ?>
<?php endif; ?>
<p class="infield">
<label for="user" class="infield"><?php echo $l->t( 'Username' ); ?></label>
<input type="text" name="user" id="user" value="" autocomplete="off" required autofocus />
2012-04-26 21:35:33 +04:00
<input type="hidden" name="sectoken" id="sectoken" value="<?php echo($_['sectoken']); ?>" />
</p>
<input type="submit" id="submit" value="<?php echo $l->t('Request reset'); ?>" />
<?php endif; ?>
</fieldset>
2011-09-26 01:33:22 +04:00
</form>