mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 17:23:37 +00:00
fix callbacks for user service methods
This commit is contained in:
@@ -24,7 +24,7 @@ angular
|
||||
};
|
||||
|
||||
$scope.submit = function () {
|
||||
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) {
|
||||
|
||||
Reference in New Issue
Block a user