mirror of
https://github.com/bitwarden/web
synced 2025-12-14 15:23:14 +00:00
fix promise on register
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user