Skip to content
Browse files

trying new strategy for new feature

  • Loading branch information...
1 parent d32255d commit 12c1430243e833aa9c3b9c5510403c8a1163af51 @zackster committed Jun 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 authentication/auth-server.js
View
2 authentication/auth-server.js
@@ -80,7 +80,7 @@
Server.prototype.checkLogin = function(req, callback) {
var self = this; // Server context
- if(!req || !req.cookies) {
+ if(!req || !req.hasOwnProperty('cookies')) {
callback.call(self,false);
return false;
}

0 comments on commit 12c1430

Please sign in to comment.
Something went wrong with that request. Please try again.