Do not prompt for appstore login with caas cloudrons

This commit is contained in:
Johannes Zellner
2016-08-01 13:39:55 +02:00
parent bf38bb30f3
commit 6459c8792a

View File

@@ -223,6 +223,7 @@ angular.module('Application').controller('MainController', ['$scope', '$route',
});
function checkAppstoreAccount() {
if (Client.getConfig().provider === 'caas') return;
if (!$scope.user.admin) return;
// only check after tutorial was shown