1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-26 17:08:33 +01: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) { }, function (errors) {
validationService.addError(form, null, 'Problem generating keys.', true); validationService.addError(form, null, 'Problem generating keys.', true);
return false; return false;