Redirect to setupdns.html for non caas if not activated

This commit is contained in:
Johannes Zellner
2017-01-05 11:53:23 +01:00
parent 39200f4418
commit a66f250350

View File

@@ -140,7 +140,7 @@ angular.module('Application').controller('MainController', ['$scope', '$route',
if (error) return $scope.error(error);
if (!status.activated) {
window.location.href = '/setup.html';
window.location.href = status.provider === 'caas' ? '/setup.html' : '/setupdns.html';
return;
}