diff --git a/src/error.html b/src/error.html index d7183f8b0..806a634a7 100644 --- a/src/error.html +++ b/src/error.html @@ -1,30 +1,30 @@ - - + + - Cloudron Error + Cloudron Error - + - - + + - - + + - - + + - - + + - - - + + + - + - +
-
- -

Cloudron

- -
-

Something has gone wrong

- Back to the dashboard -
- -
-

Cloudron is not setup

- Please use the setup link you received via mail. -
- -
-

Setup requires a setupToken in the query

- Please use the setup link you received via mail. -
- -
-

Setup requires an email in the query

- Please use the setup link you received via mail. -
+
+ +

Cloudron

+
+

Something has gone wrong

+ Back to the dashboard
+
diff --git a/src/js/setup.js b/src/js/setup.js index 489f5d67d..cf7dd1f3e 100644 --- a/src/js/setup.js +++ b/src/js/setup.js @@ -68,16 +68,6 @@ app.controller('SetupController', ['$scope', '$http', 'Client', function ($scope } if (status.provider === 'caas') { - if (!search.setupToken) { - window.location.href = '/error.html?errorCode=2'; - return; - } - - if (!search.email) { - window.location.href = '/error.html?errorCode=3'; - return; - } - $scope.setupToken = search.setupToken; }