diff --git a/src/recovery/reset.html b/src/recovery/reset.html
index ddd718f..cf2c7bf 100644
--- a/src/recovery/reset.html
+++ b/src/recovery/reset.html
@@ -30,7 +30,11 @@
const formData = new FormData(formEl);
const pass = formData.get("password");
if(pass === formData.get("confirm")){
- alert("Passwords match");
+ const url = new URL(window.location.href);
+ const urlParam = new URLSearchParams(url.search);
+ const auth = urlParam.get("auth");
+ const object = {auth: auth, pass: pass };
+ alert(JSON.stringify(object));
} else {
document.getElementById('formStatus').innerHTML = "Failure: Passwords don't match";
}