1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-15 07:43:35 +00:00

fix callbacks for user service methods

This commit is contained in:
Kyle Spearrin
2017-11-03 15:40:19 -04:00
parent 2211c569d7
commit e3dea4084f
6 changed files with 32 additions and 31 deletions

View File

@@ -22,7 +22,7 @@ angular
function checkPassword() {
var deferred = $q.defer();
userService.getEmail(function (email) {
userService.getEmail().then(function (email) {
var key = cryptoService.makeKey($scope.masterPassword, email);
var keyHash;
cryptoService.hashPassword($scope.masterPassword, key).then(function (theKeyHash) {