2
1
mirror of https://github.com/Thream/socketio-jwt.git synced 2024-07-21 09:38:31 +02:00
This commit is contained in:
José F. Romaniello 2015-05-17 22:05:00 -03:00
parent b0dcd03699
commit 4cf0651e88

View File

@ -73,7 +73,7 @@ function authorize(options, onConnection) {
var scheme = parts[0],
credentials = parts[1];
if (scheme === 'Bearer') {
if (scheme.toLowerCase() === 'bearer') {
token = credentials;
}
} else {