diff --git a/webadmin/src/js/setupdns.js b/webadmin/src/js/setupdns.js index ae68864ae..14964a7c9 100644 --- a/webadmin/src/js/setupdns.js +++ b/webadmin/src/js/setupdns.js @@ -3,7 +3,7 @@ // create main application module var app = angular.module('Application', ['angular-md5', 'ui-notification']); -app.controller('SetupController', ['$scope', '$http', 'Client', function ($scope, $http, Client) { +app.controller('SetupDNSController', ['$scope', '$http', 'Client', function ($scope, $http, Client) { $scope.initialized = false; $scope.busy = false; $scope.error = null; @@ -43,7 +43,7 @@ app.controller('SetupController', ['$scope', '$http', 'Client', function ($scope data.wildcard = true; } - Client.setDnsConfig(data, function (error) { + Client.setupDnsConfig(data, function (error) { if (error) { $scope.busy = false; $scope.dnsCredentials.error = error.message; @@ -52,7 +52,7 @@ app.controller('SetupController', ['$scope', '$http', 'Client', function ($scope setTimeout(function () { // TODO wait until domain is propagated and cert got acquired - window.location.href = 'https://my.' + $scope.dnsCredentials.domain; + window.location.href = 'https://my.' + $scope.dnsCredentials.domain + '/setup.html'; }, 5000); }); }; diff --git a/webadmin/src/setupdns.html b/webadmin/src/setupdns.html index d1bd6a8d4..496864978 100644 --- a/webadmin/src/setupdns.html +++ b/webadmin/src/setupdns.html @@ -30,13 +30,7 @@ - - -
-

No setup token provided.

- Please use the setup link for this cloudron. -
- +
@@ -44,53 +38,7 @@
-
-
-
-
-

Welcome to your Cloudron

-

Create an Admin Account

-
-
-
-
-
- -
-
- -
-
- -
-
- -
- Password must be 8-30 character with at least one uppercase, one numeric and one special character -
-
-
-
-
-
-
-
- -
-
-
-
-
-
- - -
-
-
-
-
+