1
0
mirror of https://github.com/bitwarden/web synced 2025-12-06 00:03:28 +00:00

fix promise on register

This commit is contained in:
Kyle Spearrin
2017-04-18 22:58:14 -04:00
parent 04eee919e8
commit d99fcd8e59

View File

@@ -45,7 +45,7 @@ angular
}
};
return apiService.accounts.register(request);
return apiService.accounts.register(request).$promise;
}, function (errors) {
validationService.addError(form, null, 'Problem generating keys.', true);
return false;