From d99fcd8e5945a6c13392f1e19519e56658d024e6 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 18 Apr 2017 22:58:14 -0400 Subject: [PATCH] fix promise on register --- src/app/accounts/accountsRegisterController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/accounts/accountsRegisterController.js b/src/app/accounts/accountsRegisterController.js index dc2f8032c4..6dc06b7d4f 100644 --- a/src/app/accounts/accountsRegisterController.js +++ b/src/app/accounts/accountsRegisterController.js @@ -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;