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); }