mirror of
https://github.com/bitwarden/browser
synced 2025-12-23 11:43:46 +00:00
fixes
This commit is contained in:
@@ -24,7 +24,9 @@
|
||||
// User is not using an enc key, let's make them one
|
||||
$scope.tokenPromise = cipherService.updateKey(_masterPasswordHash, function () {
|
||||
return requestToken();
|
||||
}, processError);
|
||||
}, function (err) {
|
||||
toastr.error('Something went wrong.', 'Oh No!');
|
||||
});
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
@@ -33,9 +33,11 @@
|
||||
// User is not using an enc key, let's make them one
|
||||
$scope.savePromise = cryptoService.hashPassword(model.masterPassword).then(function (hash) {
|
||||
return cipherService.updateKey(hash);
|
||||
}, processError).then(function () {
|
||||
}).then(function () {
|
||||
return changePassword(model);
|
||||
}, processError);
|
||||
}, function (err) {
|
||||
toastr.error('Something went wrong.', 'Oh No!');
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user