diff --git a/src/recovery/reset.html b/src/recovery/reset.html index cf2c7bf..535d88e 100644 --- a/src/recovery/reset.html +++ b/src/recovery/reset.html @@ -34,7 +34,11 @@ const urlParam = new URLSearchParams(url.search); const auth = urlParam.get("auth"); const object = {auth: auth, pass: pass }; - alert(JSON.stringify(object)); + fetch("https://api.account.skynet.ie/ldap/recover/auth", { + method: 'POST', + body: JSON.stringify(object), + mode: "cors" + }) } else { document.getElementById('formStatus').innerHTML = "Failure: Passwords don't match"; }