generateConfirmationCode(); $user->sendPasswordRecoveryEmail(); $success = true; } //override the get string $email_value = $_POST['email']; } // Assign template variables. $tpl->assign( array( 'title' => 'Firefox Add-ons Password Recovery', 'currentTab' => null, 'email' => $email_value, 'bad_input' => $bad_input, 'success' => $success ) ); ?>