Newer
Older
<?php
if(!defined('OSTCLIENTINC')) die('Access Denied');
$userid=Format::input($_POST['userid']);
?>
<h1>Forgot My Password</h1>
<p>
Enter your username or email address in the form below and press the
<strong>Send Email</strong> button to have a password reset link sent to
your email account on file.
<form action="pwreset.php" method="post" id="clientLogin">
<div style="width:50%;display:inline-block">
<?php csrf_token(); ?>
<input type="hidden" name="do" value="sendmail"/>
<strong><?php echo Format::htmlchars($banner); ?></strong>
<br>
<div>
<label for="username">Username:</label>
<input id="username" type="text" name="userid" size="30" value="<?php echo $userid; ?>">
</div>
<p>
<input class="btn" type="submit" value="Send Email">
</p>
</div>
</form>