if(isset($_SESSION['forgotpass'])){ if($_SESSION['forgotpass']){ echo "
New password has been generated
"; echo "
Your new password has been generated " ."and sent to the email associated with your account. " ."« back
"; } else{ echo "
Generating new password failed
"; echo "
There was an error sending you the " ."email with the new password,
hence your password has not been changed. " ."Please try again later. " ."« back
"; } unset($_SESSION['forgotpass']); } else{ ?>
Forgot password?
In case you have forgotten your password, you may request a new password to be generated for you and sent to the email address associated with your account.
All you have to do is enter the email you registered with.
echo $form->error("email"); ?>
« back } ?>
include("footer.php"); ?>