mirror of
https://github.com/bitwarden/browser.git
synced 2025-03-09 12:59:20 +01:00
finalize create properly
This commit is contained in:
parent
8c7f1c4359
commit
f93c5cb9a1
@ -70,9 +70,7 @@
|
|||||||
fd.append('license', files[0]);
|
fd.append('license', files[0]);
|
||||||
fd.append('key', shareKeyCt);
|
fd.append('key', shareKeyCt);
|
||||||
|
|
||||||
$scope.submitPromise = apiService.organizations.postLicense(fd).$promise.then(function (result) {
|
$scope.submitPromise = apiService.organizations.postLicense(fd).$promise.then(finalizeCreate);
|
||||||
return finalizeCreate();
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
var shareKeyCt = cryptoService.makeShareKeyCt();
|
var shareKeyCt = cryptoService.makeShareKeyCt();
|
||||||
|
Loading…
Reference in New Issue
Block a user