From bf4c86ed94b33f74902eab04abc1d2538c7e2001 Mon Sep 17 00:00:00 2001 From: John McLear Date: Wed, 17 Apr 2013 23:48:11 +0100 Subject: [PATCH] better message for admins --- src/node/handler/PadMessageHandler.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/node/handler/PadMessageHandler.js b/src/node/handler/PadMessageHandler.js index f051b9ed3..1e079b522 100644 --- a/src/node/handler/PadMessageHandler.js +++ b/src/node/handler/PadMessageHandler.js @@ -234,8 +234,7 @@ exports.handleMessage = function(client, message) // FIXME: A message might arrive but wont have an auth object, this is obviously bad so we should deny it // Simulate using the load testing tool if(!sessioninfos[client.id].auth){ - console.error("Auth was never applied to a session", sessioninfos[client.id]) - client.json.send({accessStatus: "deny"}); + console.error("Auth was never applied to a session. If you are using the stress-test tool then restart Etherpad and the Stress test tool.") callback(); }else{ var auth = sessioninfos[client.id].auth;