change auth message [mb]
This commit is contained in:
parent
211f3af592
commit
173e02bbfc
@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user