diff --git a/src/modify.html b/src/modify.html index d3e4707..3c160fc 100644 --- a/src/modify.html +++ b/src/modify.html @@ -42,7 +42,7 @@ const pass = formData.get("pass"); const value = formData.get("value"); const object = {user: user, pass: pass, field: field, value: value} - fetch('https://api.sso.skynet.ie/ldap/update', { + fetch('https://api.account.skynet.ie/ldap/update', { method: 'POST', body: JSON.stringify(object), mode: "cors" diff --git a/src/password.html b/src/password.html index 046261b..d6994b7 100644 --- a/src/password.html +++ b/src/password.html @@ -33,7 +33,7 @@ const newPW = formData.get("newPW"); if(newPW === formData.get("newPWConfirm")){ const object = {user: user, pass: pass, field: "userPassword", value: newPW} - fetch('https://api.sso.skynet.ie/ldap/update', { + fetch('https://api.account.skynet.ie/ldap/update', { method: 'POST', body: JSON.stringify(object), mode: "cors" diff --git a/src/register.html b/src/register.html index 9fcead2..6311225 100644 --- a/src/register.html +++ b/src/register.html @@ -34,7 +34,7 @@ const auth = urlParam.get("auth"); const user = formData.get("user"); const object = {auth: auth, user: user, pass: pass}; - fetch('https://api.sso.skynet.ie/ldap/new', { + fetch('https://api.account.skynet.ie/ldap/new/account', { method: 'POST', body: JSON.stringify(object), mode: "cors"