1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-13 01:58:44 +02: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('key', shareKeyCt);
$scope.submitPromise = apiService.organizations.postLicense(fd).$promise.then(function (result) {
return finalizeCreate();
});
$scope.submitPromise = apiService.organizations.postLicense(fd).$promise.then(finalizeCreate);
}
else {
var shareKeyCt = cryptoService.makeShareKeyCt();