From 476ab1435f1aa084f133fc8e5d0c06a0e8cc24b0 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Mon, 7 Aug 2023 14:33:04 +0000 Subject: [PATCH] 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"