Skip to content

Commit 3dc9656

Browse files
committed
Add credentials on API console requests
1 parent f102a85 commit 3dc9656

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/dashboard/Data/ApiConsole/request.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ export default function request(app, method, path, body, options) {
2626
if (options.sessionToken) {
2727
xhr.setRequestHeader('X-Parse-Session-Token', options.sessionToken);
2828
}
29+
xhr.withCredentials = app.custom && app.custom.isGDPR;
2930
xhr.onload = function() {
3031
let response = xhr.responseText;
3132
try {

0 commit comments

Comments
 (0)