From e10e006b519d8770fcde9262d20f9100fe967e9f Mon Sep 17 00:00:00 2001 From: Matt Smith Date: Tue, 11 Aug 2020 15:29:11 -0500 Subject: [PATCH] Removed dev logging --- src/background/runtime.background.ts | 6 +++--- src/content/sso.ts | 2 -- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/background/runtime.background.ts b/src/background/runtime.background.ts index 3f2a6420d8..f4ef117090 100644 --- a/src/background/runtime.background.ts +++ b/src/background/runtime.background.ts @@ -75,14 +75,14 @@ export default class RuntimeBackground { if (request.type == "AUTH_RESULT") { try { - this.logIn(request.code, request.codeVerifier); + this.initiateLogIn(request.code, request.codeVerifier); } catch { } } }); } - async logIn(code: string, codeVerifier: string) { + async initiateLogIn(code: string, codeVerifier: string) { this.loggingIn = true; try { this.formPromise = this.authService.logInSso(code, codeVerifier, this.redirectUri); @@ -98,7 +98,7 @@ export default class RuntimeBackground { sidebarWindows[0].location.reload(); } } - } catch(error) { console.log(error); } + } catch(error) { } this.loggingIn = false; } diff --git a/src/content/sso.ts b/src/content/sso.ts index d8e97170e8..7c71aa14ee 100644 --- a/src/content/sso.ts +++ b/src/content/sso.ts @@ -2,8 +2,6 @@ window.addEventListener("message", function(event) { if (event.source != window) return; - console.log(event.source); - if (event.data.type && (event.data.type == "AUTH_RESULT")) { chrome.runtime.sendMessage({ type: event.data.type,