Removed dev logging

This commit is contained in:
Matt Smith 2020-08-11 15:29:11 -05:00
parent 1d0b549123
commit e10e006b51
2 changed files with 3 additions and 5 deletions

View File

@ -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;
}

View File

@ -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,