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

move sync upon login to vault controller initiated via state params.

This commit is contained in:
Kyle Spearrin
2016-09-26 20:29:23 -04:00
parent a59f7a4afc
commit d49f0fcac3
7 changed files with 29 additions and 25 deletions

View File

@@ -15,7 +15,7 @@
$scope.loginPromise = loginService.logInTwoFactor(model.code);
$scope.loginPromise.then(function () {
$state.go('tabs.vault', { animation: 'in-slide-left' });
$state.go('tabs.vault', { animation: 'in-slide-left', syncOnLoad: true });
});
};
});