Use angular-tldjs for domain validation in certs view

This commit is contained in:
Johannes Zellner
2017-02-09 17:28:48 +01:00
parent ff7ceb1442
commit 994202ca94
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
'use strict';
angular.module('Application').controller('CertsController', ['$scope', '$location', 'Client', function ($scope, $location, Client) {
angular.module('Application').controller('CertsController', ['$scope', '$location', 'Client', 'ngTld', function ($scope, $location, Client, ngTld) {
Client.onReady(function () { if (!Client.getUserInfo().admin) $location.path('/'); });
$scope.config = Client.getConfig();