]> _ Git - fluidbook-html5.git/commitdiff
wip #3385
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 3 Feb 2020 14:36:44 +0000 (15:36 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 3 Feb 2020 14:36:44 +0000 (15:36 +0100)
js/libs/fluidbook/fluidbook.secure.js

index 98e6f7131d76b0a00013ab51f11ab5474199c2bf..bc660dd400ea62dc4a151cbdee360f2b3756436e 100644 (file)
@@ -31,6 +31,11 @@ FluidbookSecure.prototype = {
         var $this = this;
         $.ajax({
             url: $this.fluidbook.settings.secureURL,
+            crossDomain: true,
+            type: 'json',
+            xhrFields: {
+                withCredentials: true
+            },
             success: function (data) {
                 var res = data.data[0]['logged-in'];
                 if (res !== undefined && res !== null) {