fix promise on register
This commit is contained in:
parent
04eee919e8
commit
d99fcd8e59
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue