Fixes crash when user is not properly identified

This commit is contained in:
Esteban Ordano 2015-05-26 10:54:37 -03:00
parent 1e893283dd
commit 66db80c00d

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;