summaryrefslogtreecommitdiffstats
path: root/core/templates/lostpassword.php
blob: 212ca8d2edbd589d90a5fb33688b71a29cac214a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<form action="index.php?lostpassword" 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; ?>
			<input type="text" name="user" id="user" placeholder="<?php echo $l->t('Username or Email'); ?>" value="" autocomplete="off" required autofocus />
			<input type="submit" id="submit" value="<?php echo $l->t('Request reset'); ?>" />
		<?php endif; ?>
	</fieldset>
</form>