2
1
mirror of https://github.com/Thream/socketio-jwt.git synced 2024-07-21 09:38:31 +02:00

req._query is now req.query

Not sure exactly when this happened, but i had to make this change for my versions of node/js
This commit is contained in:
Oscar 2014-06-06 12:28:11 -05:00
parent 80aa8dc023
commit 452cc19a87

View File

@ -85,8 +85,8 @@ function authorize(options, onConnection) {
}
//get the token from query string
if (req._query && req._query.token) {
token = req._query.token;
if (req.query && req.query.token) {
token = req.query.token;
}
if (!token) {