[mod] dns_conf only need authentication for the api

This commit is contained in:
Laurent Peuch 2016-01-26 15:49:45 +00:00
parent 2b74311526
commit d93a1746d7
2 changed files with 3 additions and 2 deletions

View file

@ -297,7 +297,8 @@ domain:
api: GET /domains/<domain>/dns api: GET /domains/<domain>/dns
configuration: configuration:
lock: false lock: false
authenticate: all authenticate:
- api
arguments: arguments:
domain: domain:
help: Target domain help: Target domain

View file

@ -220,7 +220,7 @@ def domain_remove(auth, domain, force=False):
msignals.display(m18n.n('domain_deleted'), 'success') msignals.display(m18n.n('domain_deleted'), 'success')
def domain_dns_conf(auth, domain): def domain_dns_conf(domain):
""" """
Generate DNS configuration for a domain Generate DNS configuration for a domain