1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

added ability to pass and parse twofactor provider

This commit is contained in:
Kyle Spearrin
2017-06-26 09:55:07 -04:00
parent f6fc8a4a0f
commit 981fd22ce5
4 changed files with 18 additions and 16 deletions

View File

@@ -18,7 +18,7 @@
return;
}
$scope.loginPromise = authService.logIn(email, masterPassword, model.code);
$scope.loginPromise = authService.logIn(email, masterPassword, 0, model.code);
$scope.loginPromise.then(function () {
$analytics.eventTrack('Logged In From Two-step');
$state.go('tabs.vault', { animation: 'in-slide-left', syncOnLoad: true });