Skip to content

Commit

Permalink
Update src/auth/index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
joshcanhelp authored May 10, 2019
1 parent 7ecdf16 commit 73707a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/auth/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ var AuthenticationClient = function(options) {

if (options.telemetry !== false) {
var clientInfo = options.clientInfo || utils.generateClientInfo();
if ('string' === typeof clientInfo.name && clientInfo.name.length > 0) {
if ('string' === typeof clientInfo.name && clientInfo.name) {
var telemetry = jsonToBase64(clientInfo);
managerOptions.headers['Auth0-Client'] = telemetry;
}
Expand Down

0 comments on commit 73707a9

Please sign in to comment.