Allow api access on both ipv4 and 6 loopback addresses

This should fix issue #1769
This commit is contained in:
Paweł Chmielowski 2017-06-09 13:57:26 +02:00
parent 115cb23bd8
commit 7b5895c90d
1 changed files with 4 additions and 3 deletions

View File

@ -487,6 +487,7 @@ acl:
loopback:
ip:
- "127.0.0.0/8"
- "::1/128"
##
## Bad XMPP servers
@ -589,14 +590,14 @@ api_permissions:
who:
- access:
- allow:
- ip: "127.0.0.1/8"
- acl: loopback
- acl: admin
- oauth:
- scope: "ejabberd:admin"
- access:
- allow:
- ip: "127.0.0.1/8"
- acl: admin
- acl: loopback
- acl: admin
what:
- "*"
- "!stop"