mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[mod] dns_conf only need authentication for the api
This commit is contained in:
parent
2b74311526
commit
d93a1746d7
2 changed files with 3 additions and 2 deletions
|
@ -297,7 +297,8 @@ domain:
|
|||
api: GET /domains/<domain>/dns
|
||||
configuration:
|
||||
lock: false
|
||||
authenticate: all
|
||||
authenticate:
|
||||
- api
|
||||
arguments:
|
||||
domain:
|
||||
help: Target domain
|
||||
|
|
|
@ -220,7 +220,7 @@ def domain_remove(auth, domain, force=False):
|
|||
msignals.display(m18n.n('domain_deleted'), 'success')
|
||||
|
||||
|
||||
def domain_dns_conf(auth, domain):
|
||||
def domain_dns_conf(domain):
|
||||
"""
|
||||
Generate DNS configuration for a domain
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue