Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #335 from gavinuhma/auth-fix

set withCredentials to true before xhr to fix authentication
  • Loading branch information...
commit e7fc25ebf3d1261c3862e348dbf45e1ad1fa1d04 2 parents 4375ef1 + 336430a
@rauchg rauchg authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  lib/socket.js
View
1  lib/socket.js
@@ -149,6 +149,7 @@
var xhr = io.util.request();
xhr.open('GET', url, true);
+ xhr.withCredentials = true;
xhr.onreadystatechange = function () {
if (xhr.readyState == 4) {
xhr.onreadystatechange = empty;
Please sign in to comment.
Something went wrong with that request. Please try again.