diff options
| author | jmoenig <jens@moenig.org> | 2013-03-21 12:38:29 +0100 |
|---|---|---|
| committer | jmoenig <jens@moenig.org> | 2013-03-21 12:38:29 +0100 |
| commit | 957812e6f0c5675f6bf6257a47f5243acb122881 (patch) | |
| tree | 0cf26f467767b43c752c4c2234f2348a06cb85ef /cloud.js | |
| parent | 86779af8f06ed556c95b51f1c51b81d572dbc08a (diff) | |
| download | snap-yow-957812e6f0c5675f6bf6257a47f5243acb122881.tar.gz snap-yow-957812e6f0c5675f6bf6257a47f5243acb122881.zip | |
Cloud: Support cookies
Diffstat (limited to 'cloud.js')
| -rw-r--r-- | cloud.js | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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) { |
