Merge pull request #76 from eordano/fixCrash
Fixes crash when user is not properly identified
This commit is contained in:
commit
31d7acd1bc
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user