1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-17 08:43:33 +00:00

stub out 2fa component

This commit is contained in:
Kyle Spearrin
2018-01-31 22:54:13 -05:00
parent 8f7ae6cfaa
commit 0328977c14
5 changed files with 84 additions and 1 deletions

View File

@@ -46,7 +46,7 @@ export class LoginComponent {
const response = await this.formPromise;
if (response.twoFactor) {
this.analytics.eventTrack.next({ action: 'Logged In To Two-step' });
this.router.navigate(['twoFactor']);
this.router.navigate(['2fa']);
// TODO: pass 2fa info
} else {
this.analytics.eventTrack.next({ action: 'Logged In' });