25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-11-24 16:23:40 +01:00

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

View File

@ -487,6 +487,7 @@ acl:
loopback:
ip:
- "127.0.0.0/8"
- "::1/128"
##
## Bad XMPP servers
@ -589,13 +590,13 @@ 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: loopback
- acl: admin
what:
- "*"