1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 15:53:27 +00:00

provide callback functions

This commit is contained in:
Kyle Spearrin
2017-07-12 10:57:17 -04:00
parent 87f0e2be0e
commit 842b157955

View File

@@ -15,7 +15,11 @@
$scope.processing = true;
$scope.savePromise = cryptoService.hashPassword($scope.masterPassword).then(function (hash) {
return cipherService.updateKey(hash);
return cipherService.updateKey(hash, function () {
return null;
}, function () {
return null;
});
}).then(function () {
$uibModalInstance.dismiss('cancel');
authService.logOut();