aboutsummaryrefslogtreecommitdiffstats
path: root/core/lostpassword/templates/resetpassword.php
blob: 56257de7f1371f7f8a4aa3747b651ebd7123adf7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<form action="<?php echo 'resetpassword.php?'.$_SERVER['QUERY_STRING']; ?>" method="post">
	<fieldset>
		<?php if($_['success']): ?>
			<h1><?php echo $l->t('Your password was reset'); ?></h1>
			<p><a href="<?php echo OC::$WEBROOT ?>/"><?php echo $l->t('To login page'); ?></a></p>
		<?php else: ?>
			<p class="infield">
				<label for="password" class="infield"><?php echo $l->t( 'New password' ); ?></label>
				<input type="password" name="password" id="password" value="" required />
			</p>
			<input type="submit" id="submit" value="<?php echo $l->t('Reset password'); ?>" />
		<?php endif; ?>
	</fieldset>
</form>