Skip forward for caas after admin setup

This commit is contained in:
Johannes Zellner
2017-01-04 13:39:28 +01:00
parent d94d1af7f5
commit 604faa6669

View File

@@ -118,17 +118,16 @@ app.controller('SetupController', ['$scope', '$http', 'Client', function ($scope
return;
}
// for caas we are done here
if ($scope.provider === 'caas') {
window.location.href = '/';
return;
}
registerAppstoreAccountIfNeeded(function (error) {
if (error) console.error('Unable to create appstore account.', error); // this is not fatal
$scope.busy = false;
// for caas we are done here
if ($scope.provider === 'caas') {
window.location.href = '/';
return;
}
$scope.showDNSSetup = true;
});
});