[Modify user] Fix. Form script sets mode

#1
This commit is contained in:
eoghan.conlon 2023-07-30 00:33:18 +01:00
parent c75f62f5e6
commit 5fb889e178

View file

@ -44,7 +44,8 @@
const object = {user: user, pass: pass, field: field, value: value}
fetch('https://api.sso.skynet.ie/ldap/update', {
method: 'POST',
body: JSON.stringify(object)
body: JSON.stringify(object),
mode: "cors"
}).then(res => {
if (res.status === 200) {
let temp = res.json();