fix: switched over to using account instead of sso

This commit is contained in:
Brendan Golden 2023-08-07 14:33:04 +00:00
parent bdcaf6d267
commit 476ab1435f
3 changed files with 3 additions and 3 deletions

View file

@ -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"

View file

@ -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"

View file

@ -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"