diff --git a/src/views/support.js b/src/views/support.js index 7031c70a7..cb8403378 100644 --- a/src/views/support.js +++ b/src/views/support.js @@ -1,7 +1,7 @@ 'use strict'; angular.module('Application').controller('SupportController', ['$scope', '$location', 'Client', function ($scope, $location, Client) { - Client.onReady(function () { if (!Client.hasScope('settings')) $location.path('/'); }); + Client.onReady(function () { if (!Client.hasScope('cloudron')) $location.path('/'); }); $scope.config = Client.getConfig(); $scope.user = Client.getUserInfo();