From 173e02bbfc12af12c00035cc5b3b36c02f99ea15 Mon Sep 17 00:00:00 2001 From: Mike Beyer Date: Fri, 4 Aug 2017 10:18:23 -0500 Subject: [PATCH] change auth message [mb] --- lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/index.js b/lib/index.js index f4b83db..601e02d 100644 --- a/lib/index.js +++ b/lib/index.js @@ -178,7 +178,7 @@ function authorize(options, onConnection) { if (!token) { error = new UnauthorizedError('credentials_required', { - message: 'No Authorization header was found' + message: 'no token provided' }); return auth.fail(error, socket, accept); }