change flash code in reset password