From 73707a942ca8f92f63e9ad5bd2dfb161a7382c3f Mon Sep 17 00:00:00 2001 From: Josh Cunningham Date: Fri, 10 May 2019 14:49:50 -0700 Subject: [PATCH] Update src/auth/index.js --- src/auth/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/auth/index.js b/src/auth/index.js index 8ee5d0903..c86921d57 100644 --- a/src/auth/index.js +++ b/src/auth/index.js @@ -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; }