1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 06:43:35 +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

@@ -270,7 +270,7 @@ function initApiService() {
function handleError(errorCallback, jqXHR, textStatus, errorThrown) {
if (jqXHR.status === 401 || jqXHR.status === 403) {
chrome.runtime.sendMessage(null, { command: 'logout' });
chrome.runtime.sendMessage({ command: 'logout' });
return;
}