mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
fixes during crypto service testing
This commit is contained in:
@@ -24,7 +24,9 @@ angular
|
||||
|
||||
userService.getEmail(function (email) {
|
||||
var key = cryptoService.makeKey($scope.masterPassword, email);
|
||||
cryptoService.hashPassword($scope.masterPassword, key).then(function (keyHash) {
|
||||
var keyHash;
|
||||
cryptoService.hashPassword($scope.masterPassword, key).then(function (theKeyHash) {
|
||||
keyHash = theKeyHash;
|
||||
return cryptoService.getKeyHash();
|
||||
}).then(function (storedKeyHash) {
|
||||
if (storedKeyHash && keyHash && storedKeyHash === keyHash) {
|
||||
|
||||
Reference in New Issue
Block a user