1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-19 17:53:39 +00:00

Remove last remnants of old analytics code (#345)

This commit is contained in:
Oscar Hinton
2021-04-14 21:34:30 +02:00
committed by GitHub
parent 0a0cdaa7fd
commit 92df633040
26 changed files with 1 additions and 202 deletions

View File

@@ -138,7 +138,6 @@ export class SsoComponent {
this.formPromise = this.authService.logInSso(code, codeVerifier, this.redirectUri);
const response = await this.formPromise;
if (response.twoFactor) {
this.platformUtilsService.eventTrack('SSO Logged In To Two-step');
if (this.onSuccessfulLoginTwoFactorNavigate != null) {
this.onSuccessfulLoginTwoFactorNavigate();
} else {
@@ -150,7 +149,6 @@ export class SsoComponent {
});
}
} else if (response.resetMasterPassword) {
this.platformUtilsService.eventTrack('SSO - routing to complete registration');
if (this.onSuccessfulLoginChangePasswordNavigate != null) {
this.onSuccessfulLoginChangePasswordNavigate();
} else {
@@ -166,7 +164,6 @@ export class SsoComponent {
if (this.onSuccessfulLogin != null) {
this.onSuccessfulLogin();
}
this.platformUtilsService.eventTrack('SSO Logged In');
if (this.onSuccessfulLoginNavigate != null) {
this.onSuccessfulLoginNavigate();
} else {