{"issue":{"created_at":"2011-11-19T03:43:38Z","state":"open","updated_at":"2011-11-27T03:40:40Z","user":{"gravatar_id":"73749d2abd807d124e99a134cda25790","id":885317,"url":"https://api.github.com/users/guiomie","login":"guiomie","avatar_url":"https://secure.gravatar.com/avatar/73749d2abd807d124e99a134cda25790?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":9,"body":"My code used to work, and after a few days of not touching it because cloud9ide wasn't working properly, it stopped working. I always get a req.loggedin as undefined with everyauth module. I do a simple :\r\n\r\n```javascript\r\napp.get('/view/:htmlpage', function(req, res){\r\n        console.log(req);\r\n        if(req.loggedIn) {\r\n          res.sendfile('./views/' + req.params.htmlpage + '.html');\r\n        }\r\n        else{\r\n          res.send('You need to be authenticated with a <a href=\"www.facebook.com\">Facebook</a>');\r\n        }\r\n    });\r\n```\r\n\r\nThe req prints:\r\n\r\n```\r\n{ sessions:\r\n\r\n // IGNORED ALL KIND OF STUFF //\r\n\r\n \"loggedIn\":true,\"userId\":\"4ec448e67a06792a32000006\"}}' },\r\n hash: [Function],\r\n generate: [Function] },\r\n```\r\n\r\nWhat is wrong? everything seems find, but I still get undefined...? Could it be related to recent upgrade of the module?","assignee":null,"id":2286936,"labels":[],"number":113,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"title":"req.loggedIn","closed_at":null,"html_url":"https://github.com/bnoguchi/everyauth/issues/113","milestone":null,"url":"https://api.github.com/repos/bnoguchi/everyauth/issues/113"},"action":"created","comment":{"created_at":"2011-11-27T03:40:40Z","updated_at":"2011-11-27T03:40:40Z","user":{"gravatar_id":"80a7ef9f365cf269bc614ff8f4eaac06","id":38245,"url":"https://api.github.com/users/bnoguchi","login":"bnoguchi","avatar_url":"https://secure.gravatar.com/avatar/80a7ef9f365cf269bc614ff8f4eaac06?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"Also, make sure to define `app` in your gist. In other words, what's best for me is a complete gist, so I can just run `$ node gist.js` on, then go to the url in my browser, and re-produce the error.","id":2885575,"url":"https://api.github.com/repos/bnoguchi/everyauth/issues/comments/2885575"}}