From 957812e6f0c5675f6bf6257a47f5243acb122881 Mon Sep 17 00:00:00 2001 From: jmoenig Date: Thu, 21 Mar 2013 12:38:29 +0100 Subject: Cloud: Support cookies --- cloud.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'cloud.js') diff --git a/cloud.js b/cloud.js index 42e7790..3bfb173 100644 --- a/cloud.js +++ b/cloud.js @@ -29,7 +29,7 @@ /*global modules, IDE_Morph, SnapSerializer, hex_sha512, alert, nop*/ -modules.cloud = '2013-February-27'; +modules.cloud = '2013-March-21'; // Global stuff @@ -82,6 +82,7 @@ Cloud.prototype.signup = function ( + email, true ); + request.withCredentials = true; request.onreadystatechange = function () { if (request.readyState === 4) { if (request.responseText) { @@ -126,6 +127,7 @@ Cloud.prototype.connect = function ( (this.hasProtocol() ? '' : 'http://') + this.url, true ); + request.withCredentials = true; request.onreadystatechange = function () { if (request.readyState === 4) { if (request.responseText) { -- cgit v1.3.1