Merge pull request #76 from eordano/fixCrash

Fixes crash when user is not properly identified
This commit is contained in:
Michelle Bu 2015-05-26 15:53:19 -07:00
commit 31d7acd1bc

View File

@ -199,6 +199,7 @@ app._initializeHTTP = function() {
if (!self._clients[key] || !(client = self._clients[key][id])) {
if (req.params.retry) {
res.sendStatus(401);
return;
} else {
// Retry this request
req.params.retry = true;