minor
This commit is contained in:
parent
b0dcd03699
commit
4cf0651e88
@ -73,7 +73,7 @@ function authorize(options, onConnection) {
|
|||||||
var scheme = parts[0],
|
var scheme = parts[0],
|
||||||
credentials = parts[1];
|
credentials = parts[1];
|
||||||
|
|
||||||
if (scheme === 'Bearer') {
|
if (scheme.toLowerCase() === 'bearer') {
|
||||||
token = credentials;
|
token = credentials;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user