diff --git a/src/modify.html b/src/modify.html index a8fc1aa..65c2518 100644 --- a/src/modify.html +++ b/src/modify.html @@ -2,7 +2,7 @@ - Email change + Modify user @@ -11,8 +11,14 @@

- -
+ + +
+ +

@@ -28,7 +34,7 @@ const formData = new FormData(formEl); const user = formData.get("user"); const pass = formData.get("pass"); - const newEmail = formData.get("newEmail"); + const newEmail = formData.get("value"); const object = {user: user, pass: pass, field: "mail", value: newEmail} fetch('https://api.sso.skynet.ie/ldap/update', { method: 'POST',