parent
c75f62f5e6
commit
5fb889e178
1 changed files with 2 additions and 1 deletions
|
@ -44,7 +44,8 @@
|
||||||
const object = {user: user, pass: pass, field: field, value: value}
|
const object = {user: user, pass: pass, field: field, value: value}
|
||||||
fetch('https://api.sso.skynet.ie/ldap/update', {
|
fetch('https://api.sso.skynet.ie/ldap/update', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
body: JSON.stringify(object)
|
body: JSON.stringify(object),
|
||||||
|
mode: "cors"
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
if (res.status === 200) {
|
if (res.status === 200) {
|
||||||
let temp = res.json();
|
let temp = res.json();
|
||||||
|
|
Loading…
Reference in a new issue