2
1
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:
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) {
error = new UnauthorizedError('credentials_required', {
message: 'No Authorization header was found'
message: 'no token provided'
});
return auth.fail(error, socket, accept);
}