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

@@ -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
}
};