diff --git a/src/recovery/ssh-request.html b/src/recovery/ssh-request.html index 6387d1d..bf93aae 100644 --- a/src/recovery/ssh-request.html +++ b/src/recovery/ssh-request.html @@ -26,7 +26,9 @@ function formHandler(listener){ listener.preventDefault(); - alert("Default skipped"); + const formData = new FormData(formEl); + const object = { user: formData.get('user'), email: formData.get('mail')}; + alert(JSON.stringify(object)); }