From e2257e80268c6de889227b1687329d7a6702a19a Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Thu, 6 Dec 2018 15:58:57 -0500 Subject: [PATCH] chore(authenticator): remove copyToken command and move logic token --- src/lib/modules/authenticator/index.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/src/lib/modules/authenticator/index.js b/src/lib/modules/authenticator/index.js index 73d01a79f..5bef5f1a9 100644 --- a/src/lib/modules/authenticator/index.js +++ b/src/lib/modules/authenticator/index.js @@ -50,22 +50,12 @@ class Authenticator { this.embark.registerConsoleCommand((cmd, _options) => { return { match: () => cmd === "token", - process: (callback) => { - callback(null, __('Your authentication token: %s \nYou can use the command `copytoken` to copy the authentication token to your clipboard', this.authToken)); - } - }; - }); - - this.embark.registerConsoleCommand((cmd, _options) => { - return { - match: () => cmd === "copytoken", process: (callback) => { utils.copyToClipboard(this.authToken); callback(null, __('Token copied to clipboard: %s', this.authToken)); } }; }); - } registerEvents() {