From f46b76e94fa8885d0ee3cf916f084020f4cf7dcb Mon Sep 17 00:00:00 2001 From: "eoghan.conlon" Date: Sun, 6 Aug 2023 17:55:27 +0100 Subject: [PATCH 1/2] Fix. Link for account now points to new api --- src/register.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/register.html b/src/register.html index 9fcead2..1cfbdae 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.sso.skynet.ie/ldap/new/account', { method: 'POST', body: JSON.stringify(object), mode: "cors" From 476ab1435f1aa084f133fc8e5d0c06a0e8cc24b0 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Mon, 7 Aug 2023 14:33:04 +0000 Subject: [PATCH 2/2] fix: switched over to using account instead of sso --- src/modify.html | 2 +- src/password.html | 2 +- src/register.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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 1cfbdae..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/account', { + fetch('https://api.account.skynet.ie/ldap/new/account', { method: 'POST', body: JSON.stringify(object), mode: "cors"