Resetting Your Password, Please Wait...\n"; //Gather and Filter Data from the Submission Form $email = escape_string($_POST["email"]); //Generate Confirmation Code $confirmationcode = md5(mt_rand()); $newpassword = substr(md5(mt_rand()),0,14); $password_plain = $newpassword; $password = md5($newpassword); $sql = "SELECT `UserEmail` FROM `userprofiles` WHERE `UserEmail`='$email' LIMIT 1"; $sql_result = mysql_query($sql, $connection) or trigger_error("MySQL Error ".mysql_errno().": ".mysql_error()."", E_USER_NOTICE); if (mysql_num_rows($sql_result)=="1") { $sql = "UPDATE `userprofiles` SET `UserPass`='$password' WHERE `UserEmail`='$email' LIMIT 1"; $sql_result = mysql_query($sql, $connection) or trigger_error("MySQL Error ".mysql_errno().": ".mysql_error()."", E_USER_NOTICE); if ($sql_result) { include"mail_newpassword.php"; echo"Your password has been reset successfully. An e-mail has been sent to you containing your new password..
\n"; echo"

«« Login to Mozilla Update's Developer Control Panel »»"; } } else { echo"An error was encountered when trying to reset your password, verify the e-mail you entered is correct and try again.
\n"; } include"$page_footer"; echo"\n\n"; exit; } ?>

Reset Your Password

Forgot the password to your Mozilla Update account? No problem. Just put your e-mail address in the form below, and a new password will be generated and e-mailed to the e-mail address you have on file.

E-Mail Address: