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:
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
Block a user