Remove broken external domain validation

This commit is contained in:
Johannes Zellner
2017-01-10 13:05:06 +01:00
parent 848ca9817d
commit 9b1b833fac
2 changed files with 1 additions and 6 deletions

View File

@@ -49,7 +49,7 @@
</div>
</div>
<p class="text-center" ng-show="appConfigure.usingAltDomain && appConfigure.location && appConfigure.isAltDomainValid()">
<p class="text-center" ng-show="appConfigure.usingAltDomain && appConfigure.location">
Add a CNAME record for {{ appConfigure.location }} to {{ appConfigure.app.fqdn }}
<br>
</p>

View File

@@ -37,11 +37,6 @@ angular.module('Application').controller('AppsController', ['$scope', '$location
isAccessRestrictionValid: function () {
var tmp = $scope.appConfigure.accessRestriction;
return !!(tmp.users.length || tmp.groups.length);
},
isAltDomainValid: function () {
if (!$scope.appConfigure.usingAltDomain) return true;
return /.+\..+\..+/.test($scope.appConfigure.location); // 2 dots
}
};