change auth message [mb]

This commit is contained in:
Mike Beyer 2017-08-04 10:18:23 -05:00 committed by Fabian Arndt
parent 211f3af592
commit 173e02bbfc

View File

@ -178,7 +178,7 @@ function authorize(options, onConnection) {
if (!token) { if (!token) {
error = new UnauthorizedError('credentials_required', { error = new UnauthorizedError('credentials_required', {
message: 'No Authorization header was found' message: 'no token provided'
}); });
return auth.fail(error, socket, accept); return auth.fail(error, socket, accept);
} }