Merge branch '3-new-users-sign-up' into 'main'

Fix. Link for account now points to new api

See merge request compsoc1/skynet/ldap/frontend!3
This commit is contained in:
Brendan Golden 2023-08-06 17:10:10 +00:00
commit bdcaf6d267

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.sso.skynet.ie/ldap/new/account', {
method: 'POST',
body: JSON.stringify(object),
mode: "cors"