Merge branch 'main' into '2-styling-of-the-website'

Changes from main to issue 2

See merge request compsoc1/skynet/ldap/frontend!5
This commit is contained in:
eoghanconlon73 2023-08-07 18:05:23 +00:00
commit dbfb7438e2
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', {
fetch('https://api.account.skynet.ie/ldap/new/account', {
method: 'POST',
body: JSON.stringify(object),
mode: "cors"