1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

Grayed out icon when logged out. field context script for highlighting login fields.

This commit is contained in:
Kyle Spearrin
2016-09-28 19:12:14 -04:00
parent fbc30bacd2
commit bbb78bee02
11 changed files with 222 additions and 22 deletions

View File

@@ -22,6 +22,7 @@
if (response.profile) {
userService.setUserId(response.profile.id, function () {
userService.setEmail(response.profile.email, function () {
chrome.runtime.sendMessage({ command: 'loggedIn' });
deferred.resolve(response);
});
});
@@ -51,6 +52,7 @@
tokenService.setToken(response.token, function () {
userService.setUserId(response.profile.id, function () {
userService.setEmail(response.profile.email, function () {
chrome.runtime.sendMessage({ command: 'loggedIn' });
deferred.resolve(response);
});
});
@@ -72,6 +74,7 @@
folderService.clear(userId, function () {
$rootScope.vaultSites = null;
$rootScope.vaultFolders = null;
chrome.runtime.sendMessage({ command: 'loggedOut' });
callback();
});
});