/**
* Forgot Password form has been submitted and no errors
* were found with the form (the username is in the database)
*/
if(isset($_SESSION['forgotpass'])){
/**
* New password was generated for user and sent to user's
* email address.
*/
if($_SESSION['forgotpass']){
echo "
Password Sent!"; echo "Your new password has been generated "
."and sent to the email Password Retrievel Failure"; echo "There was an error sending you the "
."email with the new password, Forgot PasswordYour password will be retrieve for you and sent to the email addressassociated with your account, all you have to do is enter your username. echo $form->error("user"); ?> } ?> |