Browse Source

Fixes crash when user is not properly identified

Esteban Ordano 10 years ago
parent
commit
66db80c00d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lib/server.js

+ 1 - 0
lib/server.js

@@ -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;