mirror of
https://github.com/Thream/socketio-jwt.git
synced 2024-07-21 09:38:31 +02:00
change auth message [mb]
This commit is contained in:
parent
211f3af592
commit
173e02bbfc
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user