fix promise on register

This commit is contained in:
Kyle Spearrin 2017-04-18 22:58:14 -04:00
parent 04eee919e8
commit d99fcd8e59
1 changed files with 1 additions and 1 deletions

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;