From f8c61870078c42bf66b5f5d2fffb55ca50032ff4 Mon Sep 17 00:00:00 2001 From: John Mitchell Date: Wed, 7 Mar 2018 13:57:14 -0500 Subject: [PATCH] add back in comments describing license type payload --- .../src/login/authenticationServices/pendo.service.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/awx/ui/client/src/login/authenticationServices/pendo.service.js b/awx/ui/client/src/login/authenticationServices/pendo.service.js index e09441e817..a7296f6d8b 100644 --- a/awx/ui/client/src/login/authenticationServices/pendo.service.js +++ b/awx/ui/client/src/login/authenticationServices/pendo.service.js @@ -38,12 +38,18 @@ export default ['$rootScope', 'Rest', 'GetBasePath', 'ProcessErrors', '$q', 'Con return options; }, + // Detailed mode sends: + // VisitorId: userid+hash of license_key + // AccountId: hash of license_key from license setDetailed: function(options, config) { // config.deployment_id is a hash of the tower license_key options.visitor.id = $rootScope.current_user.id + '@' + config.deployment_id; options.account.id = config.deployment_id; }, + // Anonymous mode sends: + // VisitorId: + // AccountId: setAnonymous: function (options) { options.visitor.id = 0; options.account.id = "tower.ansible.com";