mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 17:23:37 +00:00
more promise/utils helper conversions
This commit is contained in:
@@ -29,7 +29,7 @@
|
||||
cryptoService.hashPassword($scope.masterPassword, key, function (keyHash) {
|
||||
cryptoService.getKeyHash(function (storedKeyHash) {
|
||||
if (storedKeyHash && keyHash && storedKeyHash === keyHash) {
|
||||
cryptoService.setKey(key, function () {
|
||||
cryptoService.setKey(key).then(function () {
|
||||
chrome.runtime.sendMessage({ command: 'unlocked' });
|
||||
$state.go('tabs.current');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user