only perform the appstore account setup on non caas cloudrons

This commit is contained in:
Johannes Zellner
2016-07-27 17:42:44 +02:00
parent c2b57a704d
commit 711814cc2f
2 changed files with 2 additions and 1 deletions

View File

@@ -232,6 +232,7 @@ app.controller('FinishController', ['$scope', '$location', '$http', 'Wizard', 'C
function registerAppstoreAccountIfNeeded(callback) {
if (!Wizard.createAppstoreAccount) return callback(null);
if (Wizard.provider === 'caas') return callback(null);
$http.post(Wizard.apiServerOrigin + '/api/v1/users', { email: Wizard.email, password: Wizard.password }).success(function (data, status) {
if (status !== 201) return callback({ status: status, data: data });

View File

@@ -24,7 +24,7 @@
</div>
</div>
</div>
<div class="row">
<div class="row" ng-hide="wizard.provider === 'caas'">
<div class="col-md-12 text-center">
<div class="form-group">
<div class="checkbox">