Reset Password

function mainChngPwd() { const passZero = document.getElementById(“pass0”).value; if (passZero === undefined){ passZero = “”; } const passOne = document.getElementById(“pass1”).value; if (passOne === undefined){ passOne = “”; } const passTwo = document.getElementById(“pass2”).value; if (passTwo === undefined){ passTwo = “”; } const emailAdd = document.getElementById(“email_add”).value; if (emailAdd === undefined){ emailAdd = “”; } const xhr = new XMLHttpRequest(); xhr.onreadystatechange = function() { if (this.readyState == 4 && this.status == 200) { const serverQuoteReg = document.getElementById(“serverSetNew”); serverQuoteReg.innerHTML = this.responseText; } }; xhr.open(“POST”,”https://www.bryanbutterworth.co.uk/main_login_set_new_pwd_2.php?”); xhr.setRequestHeader(“Content-type”, “application/x-www-form-urlencoded”); xhr.send(“email_add=”+emailAdd+”&old_password=”+passZero+”&password=”+passOne+”&password_rep=”+passTwo); }

Enter your email address and current password

Password format: - minimum 10 characters and contain at least one uppercase, one lowercase, one number and one symbol @$!%*?&