mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-24 12:06:15 +01:00
provide callback functions
This commit is contained in:
parent
87f0e2be0e
commit
842b157955
@ -15,7 +15,11 @@
|
|||||||
|
|
||||||
$scope.processing = true;
|
$scope.processing = true;
|
||||||
$scope.savePromise = cryptoService.hashPassword($scope.masterPassword).then(function (hash) {
|
$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 () {
|
}).then(function () {
|
||||||
$uibModalInstance.dismiss('cancel');
|
$uibModalInstance.dismiss('cancel');
|
||||||
authService.logOut();
|
authService.logOut();
|
||||||
|
Loading…
Reference in New Issue
Block a user