only perform the appstore account setup on non caas cloudrons
This commit is contained in:
@@ -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 });
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user