1
0
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:
Kyle Spearrin 2017-08-17 00:57:25 -04:00
parent 8c7f1c4359
commit f93c5cb9a1

View File

@ -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();